diff --git a/deluge/ui/web/json_api.py b/deluge/ui/web/json_api.py index 18c370a26..1a0e66f77 100644 --- a/deluge/ui/web/json_api.py +++ b/deluge/ui/web/json_api.py @@ -30,7 +30,6 @@ from deluge.ui.common import FileTree2, TorrentInfo from deluge.ui.coreconfig import CoreConfig from deluge.ui.hostlist import HostList from deluge.ui.sessionproxy import SessionProxy -from deluge.ui.web.common import _ log = logging.getLogger(__name__) diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py index 5fbdd4eae..5aba8aa1a 100644 --- a/deluge/ui/web/server.py +++ b/deluge/ui/web/server.py @@ -25,7 +25,7 @@ from deluge.crypto_utils import check_ssl_keys, get_context_factory from deluge.i18n import set_language, setup_translation from deluge.ui.tracker_icons import TrackerIcons from deluge.ui.web.auth import Auth -from deluge.ui.web.common import Template +from deluge.ui.web.common import Template, _ from deluge.ui.web.json_api import JSON, WebApi, WebUtils from deluge.ui.web.pluginmanager import PluginManager