summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-13 13:53:55 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-13 13:53:55 +0200
commit1ee1292deed62c4acc7e648735bf9c90c4a1410c (patch)
tree333ff8d74c94ef06a0c73c34ae0816c7f3217cea /module
parentunrar fix, removed recaptcha debug (diff)
downloadpyload-1ee1292deed62c4acc7e648735bf9c90c4a1410c.tar.xz
import fix
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)