summaryrefslogtreecommitdiffstats
path: root/module/download_thread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-28 12:52:56 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-28 12:52:56 +0200
commitc9eb7081bbd4cedf9a6574c39ceb0cfde1083113 (patch)
tree7c3e26941ccf347c6a1571b155cc8ef1cc2d685c /module/download_thread.py
parentfexed little bug (diff)
downloadpyload-c9eb7081bbd4cedf9a6574c39ceb0cfde1083113.tar.xz
clean up some code, new config parser, basic time shedule
Diffstat (limited to 'module/download_thread.py')
-rw-r--r--module/download_thread.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/module/download_thread.py b/module/download_thread.py
index 9147af923..f8786c810 100644
--- a/module/download_thread.py
+++ b/module/download_thread.py
@@ -20,7 +20,6 @@
import threading
from time import time, sleep
-from copy import copy
class Status(object):
""" Saves all status information
@@ -92,8 +91,7 @@ class Download_Thread(threading.Thread):
sleep(1)
self.parent.remove_thread(self)
- def download(self, py_load_file):
- pyfile = py_load_file
+ def download(self, pyfile):
status = pyfile.status
pyfile.prepareDownload()