From 8ea7bd3241016b2084eb923c37bf7e7a75a296eb Mon Sep 17 00:00:00 2001 From: spoob Date: Thu, 8 Apr 2010 21:45:05 +0200 Subject: _.-:Package Folders:-._ --- module/download_thread.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'module/download_thread.py') diff --git a/module/download_thread.py b/module/download_thread.py index b56fc1b4c..6dd9c3f2c 100644 --- a/module/download_thread.py +++ b/module/download_thread.py @@ -29,6 +29,9 @@ from time import sleep, time from module.network.Request import AbortDownload from module.PullEvents import UpdateEvent +from module.network.Request import Request as Browser + + class Status(object): """ Saves all status information """ @@ -149,12 +152,12 @@ class Download_Thread(threading.Thread): #~ free_file_name = self.get_free_name(status.filename) - location = join(pyfile.folder, status.filename) - pyfile.plugin.proceed(status.url, location) + #~ location = join(pyfile.folder, status.filename) + pyfile.plugin.proceed(status.url, status.filename) if self.parent.parent.xmlconfig.get("general", "checksum", True): status.type = "checking" - check, code = pyfile.plugin.check_file(location) + check, code = pyfile.plugin.check_file(status.filename) """ return codes: 0 - checksum ok -- cgit v1.2.3