Ivars 5 år sedan
förälder
incheckning
07369f442e
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      playstreamproxy.py

+ 2
- 1
playstreamproxy.py Visa fil

@@ -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: