From 8092da86ec029b3a4b16ba68762e8caa1445a270 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 30 Sep 2010 16:19:37 +0200 Subject: fixed proxy support, downloadCheck function --- module/network/Request.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'module/network/Request.py') 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 -- cgit v1.2.3