debug
This commit is contained in:
parent
30cbcdab92
commit
0ffe2b87cb
@ -28,7 +28,7 @@ class HttpCmdHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
|||||||
cls.nullAddress = nullAddress
|
cls.nullAddress = nullAddress
|
||||||
|
|
||||||
def do_GET(self):
|
def do_GET(self):
|
||||||
Logger.log("Request: %s, %s" % (self.path, self.client_address))
|
Logger.debug("Request: %s, %s" % (self.path, self.client_address))
|
||||||
try:
|
try:
|
||||||
if self.command == "GET":
|
if self.command == "GET":
|
||||||
q = urlparse.urlparse(self.path).query
|
q = urlparse.urlparse(self.path).query
|
||||||
@ -36,7 +36,7 @@ class HttpCmdHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
|||||||
if not c.has_key('c'):
|
if not c.has_key('c'):
|
||||||
raise LocalException('no cmd given')
|
raise LocalException('no cmd given')
|
||||||
cmd = c['c'][0]
|
cmd = c['c'][0]
|
||||||
Logger.log("Cmd: " + cmd)
|
Logger.debug("Cmd: " + cmd)
|
||||||
if cmd == 'register':
|
if cmd == 'register':
|
||||||
self.register(c)
|
self.register(c)
|
||||||
elif cmd == 'start':
|
elif cmd == 'start':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user