diff options
Diffstat (limited to 'module/gui/CNLServer.py')
-rw-r--r-- | module/gui/CNLServer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/gui/CNLServer.py b/module/gui/CNLServer.py index 1c654c54e..5ecac8277 100644 --- a/module/gui/CNLServer.py +++ b/module/gui/CNLServer.py @@ -75,7 +75,7 @@ class CNLHandler(BaseHTTPRequestHandler): print "queue", queue def get_post(self, name, default=""): - if self.post.has_key(name): + if name in self.post: return self.post[name] else: return default @@ -223,4 +223,4 @@ if __name__ == "__main__": except KeyboardInterrupt: s.stop = True s.stopped = True - print "quiting.."
\ No newline at end of file + print "quiting.." |