summaryrefslogtreecommitdiffstats
path: root/module/download_thread.py
diff options
context:
space:
mode:
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()