summaryrefslogtreecommitdiffstats
path: root/module/gui/CNLServer.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-14 20:59:01 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-14 20:59:01 +0200
commit853d29a0f12cdcb6c406b829a57439c7ea9b570d (patch)
tree047d94a11037617521c7a50130a6ead538c5daf7 /module/gui/CNLServer.py
parentfixed config on webif + show description (diff)
downloadpyload-853d29a0f12cdcb6c406b829a57439c7ea9b570d.tar.xz
has_key refractored, package name generator by Geek
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 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.."