summaryrefslogtreecommitdiffstats
path: root/module/gui/CNLServer.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui/CNLServer.py')
-rw-r--r--module/gui/CNLServer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/gui/CNLServer.py b/module/gui/CNLServer.py
index b55555272..295cfa045 100644
--- a/module/gui/CNLServer.py
+++ b/module/gui/CNLServer.py
@@ -117,7 +117,7 @@ class CNLHandler(BaseHTTPRequestHandler):
resp += "\r\n"
self.start_response(resp)
self.wfile.write(resp)
- except Exception,e :
+ except Exception, e:
self.send_error(500, str(e))
else:
self.send_error(404, "Not Found")
@@ -163,7 +163,7 @@ class CNLHandler(BaseHTTPRequestHandler):
IV = Key
obj = AES.new(Key, AES.MODE_CBC, IV)
- result = obj.decrypt(crypted).replace("\x00", "").replace("\r","").split("\n")
+ result = obj.decrypt(crypted).replace("\x00", "").replace("\r", "").split("\n")
result = filter(lambda x: x != "", result)