Ivars 5 years ago
parent
commit
07369f442e
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      playstreamproxy.py

+ 2
- 1
playstreamproxy.py View File

@@ -297,7 +297,7 @@ class StreamHandler(BaseHTTPRequestHandler):
297 297
 class ThreadedHTTPServer(ThreadingMixIn, HTTPServer):
298 298
     """Handle requests in a separate thread."""
299 299
 
300
-def start(host = HOST_NAME, port = PORT_NUMBER, key=KEY, redirect=REDIRECT):
300
+def start(host = HOST_NAME, port = PORT_NUMBER, redirect=REDIRECT, key=KEY):
301 301
     global REDIRECT,KEY
302 302
     if redirect:
303 303
         REDIRECT = redirect
@@ -472,6 +472,7 @@ class Daemon:
472 472
 
473 473
 class ProxyDaemon(Daemon):
474 474
     def run(self):
475
+        print "Daemon start - %s" % MULTITHREAD
475 476
         if MULTITHREAD:
476 477
             start2()
477 478
         else: