summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/auth.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2014-09-03 18:18:29 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2014-09-03 18:27:32 +0100
commitb5dcfc6f9e0b3397ceab3bec354fdc94b48b27ef (patch)
treec24ce802fe75af4e0ffac48a8dddbd66648bae1d /deluge/ui/web/auth.py
parent1ca08ccf95f79494c1ac01326e73671a7a022f80 (diff)
downloaddeluge-b5dcfc6f9e0b3397ceab3bec354fdc94b48b27ef.tar.gz
deluge-b5dcfc6f9e0b3397ceab3bec354fdc94b48b27ef.tar.bz2
deluge-b5dcfc6f9e0b3397ceab3bec354fdc94b48b27ef.zip
Sort/prettify imports with isort
Diffstat (limited to 'deluge/ui/web/auth.py')
-rw-r--r--deluge/ui/web/auth.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/deluge/ui/web/auth.py b/deluge/ui/web/auth.py
index 93912411c..3bf4e2b92 100644
--- a/deluge/ui/web/auth.py
+++ b/deluge/ui/web/auth.py
@@ -7,10 +7,10 @@
# See LICENSE for more details.
#
-import time
-import random
import hashlib
import logging
+import random
+import time
from datetime import datetime, timedelta
from email.utils import formatdate
@@ -18,6 +18,7 @@ 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__)
@@ -38,7 +39,6 @@ class AuthError(Exception):
pass
# Import after as json_api imports the above AuthError and AUTH_LEVEL_DEFAULT
-from deluge.ui.web.json_api import JSONComponent, export
def make_checksum(session_id):