diff --git a/deluge/ui/webui/deluge_webserver.py b/deluge/ui/webui/deluge_webserver.py index a93ef8937..96efb05c5 100644 --- a/deluge/ui/webui/deluge_webserver.py +++ b/deluge/ui/webui/deluge_webserver.py @@ -77,8 +77,6 @@ utils.set_config_defaults() sclient.set_core_uri(config.get('daemon')) - - def create_webserver(urls, methods, middleware): from web import webpyfunc, wsgifunc from lib.gtk_cherrypy_wsgiserver import CherryPyWSGIServer diff --git a/deluge/ui/webui/pages.py b/deluge/ui/webui/pages.py index b15183f5d..2e67656bb 100644 --- a/deluge/ui/webui/pages.py +++ b/deluge/ui/webui/pages.py @@ -37,6 +37,7 @@ from utils import * import utils #todo remove the line above. from render import render, error_page +import time import page_decorators as deco from config_forms import config_page from torrent_options import torrent_options