summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/ThreadManager.py2
-rw-r--r--module/web/pyload/views.py3
2 files changed, 1 insertions, 4 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index 70ac1c787..93ac8e78b 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -18,7 +18,7 @@
@author: RaNaN
"""
-from os.path import exists
+from os.path import exists, join
import re
from subprocess import Popen
from threading import Event
diff --git a/module/web/pyload/views.py b/module/web/pyload/views.py
index 880ec7843..874f25ebf 100644
--- a/module/web/pyload/views.py
+++ b/module/web/pyload/views.py
@@ -104,8 +104,6 @@ def queue(request):
else:
pyfile["icon"] = "status_downloading.png"
-
- #@TODO: replace lambdas
data = zip(queue.keys(), queue.values())
data.sort(key=get_sort_key)
@@ -282,7 +280,6 @@ def collector(request):
else:
pyfile["icon"] = "status_downloading.png"
- #@TODO: replace lambdas
data = zip(queue.keys(), queue.values())
data.sort(key=get_sort_key)