diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-18 22:33:06 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-18 22:33:06 +0100 |
commit | d79c1b3a6d1a6481b77598edf71fcb53eb6bb655 (patch) | |
tree | 04746ec4511a4d3e134a3781cb7e68dc3974411c /module/web/ServerThread.py | |
parent | youtube fix, xdccrequest abort dl implemented (diff) | |
download | pyload-d79c1b3a6d1a6481b77598edf71fcb53eb6bb655.tar.xz |
Diffstat (limited to 'module/web/ServerThread.py')
-rw-r--r-- | module/web/ServerThread.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/module/web/ServerThread.py b/module/web/ServerThread.py index 9af888c6e..b343b6526 100644 --- a/module/web/ServerThread.py +++ b/module/web/ServerThread.py @@ -1,11 +1,11 @@ #!/usr/bin/env python from __future__ import with_statement -from os import makedirs -from os.path import exists, join +from os.path import exists import threading import logging core = None +setup = None log = logging.getLogger("log") class WebServer(threading.Thread): @@ -28,10 +28,6 @@ class WebServer(threading.Thread): import webinterface global webinterface - cache = join("tmp", "jinja_cache") - if not exists(cache): - makedirs(cache) - if self.https: if not exists(self.cert) or not exists(self.key): log.warning(_("SSL certificates not found.")) |