diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2024-08-19 20:23:10 +0200 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2024-08-24 10:23:22 +0200 |
commit | 785ad00d2bf0ef199f1dd3402d566bae9d0e71ec (patch) | |
tree | f9af1acedd674d2d3476b4a1bfc23be2e92546cb | |
parent | [WebUI] Fix error stopping daemon in connection manager (diff) | |
download | deluge-785ad00d2bf0ef199f1dd3402d566bae9d0e71ec.tar.xz deluge-785ad00d2bf0ef199f1dd3402d566bae9d0e71ec.zip |
[WebUI] Fix gettext _ imports
-rw-r--r-- | deluge/ui/web/json_api.py | 1 | ||||
-rw-r--r-- | deluge/ui/web/server.py | 2 |
2 files changed, 1 insertions, 2 deletions
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 |