From 785ad00d2bf0ef199f1dd3402d566bae9d0e71ec Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Mon, 19 Aug 2024 19:23:10 +0100 Subject: [PATCH] [WebUI] Fix gettext _ imports --- deluge/ui/web/json_api.py | 1 - deluge/ui/web/server.py | 2 +- 2 files changed, 1 insertion(+), 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