summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/web/auth.py')
-rw-r--r--deluge/ui/web/auth.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/deluge/ui/web/auth.py b/deluge/ui/web/auth.py
index 22dffd11a..acb7d2770 100644
--- a/deluge/ui/web/auth.py
+++ b/deluge/ui/web/auth.py
@@ -18,7 +18,6 @@ from twisted.internet.task import LoopingCall
from deluge import component
from deluge.common import utf8_encoded
-from deluge.ui.web.json_api import export, JSONComponent
log = logging.getLogger(__name__)
@@ -39,7 +38,7 @@ class AuthError(Exception):
pass
# Import after as json_api imports the above AuthError and AUTH_LEVEL_DEFAULT
-
+from deluge.ui.web.json_api import export, JSONComponent # isort:skip
def make_checksum(session_id):
return reduce(lambda x, y: x + y, map(ord, session_id))