From d79c1b3a6d1a6481b77598edf71fcb53eb6bb655 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 18 Feb 2011 22:33:06 +0100 Subject: closed #242, #243, #244 --- module/web/ServerThread.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'module/web/ServerThread.py') 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.")) -- cgit v1.2.3