diff --git a/resources/lib/plexbmchelper/listener.py b/resources/lib/plexbmchelper/listener.py index 198d4cd2..fae832fc 100644 --- a/resources/lib/plexbmchelper/listener.py +++ b/resources/lib/plexbmchelper/listener.py @@ -1,5 +1,4 @@ import re -import traceback from SocketServer import ThreadingMixIn from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler from urlparse import urlparse, parse_qs @@ -247,6 +246,7 @@ class MyHandler(BaseHTTPRequestHandler): except: self.logMsg('Error encountered. Traceback:', -1) + import traceback self.logMsg(traceback.print_exc(), -1)