diff options
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.")) |