diff options
Diffstat (limited to 'libpathod/test.py')
-rw-r--r-- | libpathod/test.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libpathod/test.py b/libpathod/test.py index 28fcd664..f33e922f 100644 --- a/libpathod/test.py +++ b/libpathod/test.py @@ -7,10 +7,8 @@ IFACE = "127.0.0.1" class Daemon: def __init__(self, staticdir=None, anchors=(), ssl=None): - #self.app = pathod.make_app(staticdir=staticdir, anchors=anchors) - self.app = None self.q = Queue.Queue() - self.thread = PaThread(self.q, self.app, ssl) + self.thread = PaThread(self.q, ssl) self.thread.start() self.port = self.q.get(True, 5) self.urlbase = "%s://%s:%s"%("https" if ssl else "http", IFACE, self.port) @@ -25,9 +23,9 @@ class Daemon: class PaThread(threading.Thread): - def __init__(self, q, app, ssl): + def __init__(self, q, ssl): threading.Thread.__init__(self) - self.q, self.app, self.ssl = q, app, ssl + self.q, self.ssl = q, ssl self.port = None def run(self): |