summaryrefslogtreecommitdiffstats
path: root/module/network/Request.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-09 19:33:40 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-09 19:33:40 +0200
commitd050a96342627db76dc5ac9af951c948de2fc075 (patch)
tree7ab189620a2cdcdf0b989266d75b9d6a124350b1 /module/network/Request.py
parentaccount save function, DELETE OLD accounts.conf !!! (diff)
downloadpyload-d050a96342627db76dc5ac9af951c948de2fc075.tar.xz
removed gocr dependency
Diffstat (limited to 'module/network/Request.py')
-rwxr-xr-xmodule/network/Request.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index 7413358d7..45fd3f66b 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -167,6 +167,13 @@ class Request:
self.lastEffectiveURL = self.pycurl.getinfo(pycurl.EFFECTIVE_URL)
self.addCookies()
+ #reset progress
+
+ self.dl_time = 0
+ self.dl_finished = 0
+ self.dl_size = 0
+ self.dl_arrived = 0
+
self.lastURL = url
header = self.get_header()