summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/auth.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2014-09-19 12:03:40 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2014-09-19 13:39:41 +0100
commit08b61eb50bfd71b2657565528f705637ca6ac673 (patch)
treeefc87456492b2e2e1f0fbc464c558779a7086f59 /deluge/ui/web/auth.py
parent45ef6ac56d479a85e5cf6cf2e2882eedcef9cc36 (diff)
downloaddeluge-08b61eb50bfd71b2657565528f705637ca6ac673.tar.gz
deluge-08b61eb50bfd71b2657565528f705637ca6ac673.tar.bz2
deluge-08b61eb50bfd71b2657565528f705637ca6ac673.zip
Change imports to use absolute paths
Diffstat (limited to 'deluge/ui/web/auth.py')
-rw-r--r--deluge/ui/web/auth.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/deluge/ui/web/auth.py b/deluge/ui/web/auth.py
index acb7d2770..7f6df52fc 100644
--- a/deluge/ui/web/auth.py
+++ b/deluge/ui/web/auth.py
@@ -40,6 +40,7 @@ class AuthError(Exception):
# 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))