diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-30 16:19:37 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-30 16:19:37 +0200 |
commit | 8092da86ec029b3a4b16ba68762e8caa1445a270 (patch) | |
tree | 424aada934b7951e8d45e2aa4d99d5edf9320c39 /module/network | |
parent | NEW: 1fichier.com hoster plugin, not info API support yet. (diff) | |
download | pyload-8092da86ec029b3a4b16ba68762e8caa1445a270.tar.xz |
fixed proxy support, downloadCheck function
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 |