From c9eb7081bbd4cedf9a6574c39ceb0cfde1083113 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 28 May 2009 12:52:56 +0200 Subject: clean up some code, new config parser, basic time shedule --- module/download_thread.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'module/download_thread.py') 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() -- cgit v1.2.3