diff options
Diffstat (limited to 'module/network')
-rwxr-xr-x | module/network/Request.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/network/Request.py b/module/network/Request.py index 8638cc66a..f322c847a 100755 --- a/module/network/Request.py +++ b/module/network/Request.py @@ -22,7 +22,6 @@ import base64 import time -from os import stat from os.path import exists, join from shutil import move import urllib @@ -232,7 +231,7 @@ class Request: self.pycurl.setopt(pycurl.URL, url) if self.canContinue: - self.offset = stat(file_temp).st_size + self.offset = partSize self.pycurl.setopt(pycurl.RESUME_FROM, self.offset) self.dl_arrived = self.offset |