summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-12-09 17:01:57 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2010-12-09 17:01:57 +0100
commitb24e58163b3b7c9211114b04c3c83d449dc6e3ac (patch)
tree9b059a9fedcde53d2587686841b50863a11878c4 /module/network
parentLittle fixes (diff)
downloadpyload-b24e58163b3b7c9211114b04c3c83d449dc6e3ac.tar.xz
fixed progress when resuming
Diffstat (limited to 'module/network')
-rwxr-xr-xmodule/network/Request.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index b281714a3..3a3cd0f41 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -376,8 +376,8 @@ class Request:
def progress(self, dl_t, dl_d, up_t, up_d):
if self.abort:
return False
- self.dl_arrived = int(dl_d)
- self.dl_size = int(dl_t)
+ self.dl_arrived = int(dl_d)+self.offset
+ self.dl_size = int(dl_t)+self.offset
def get_free_name(self, folder, file_name):
file_count = 0