summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar Paul King <devnull@localhost> 2011-05-16 20:40:25 +0200
committerGravatar Paul King <devnull@localhost> 2011-05-16 20:40:25 +0200
commitd94868828e60167b2dbb20f39ea4282fd636844e (patch)
treeaa563f6ee730166853555a8fc9b3735c260d09a6 /module/network
parentSeveral Crypters and Hosters fixes, improvements, python2.5 issues... (diff)
downloadpyload-d94868828e60167b2dbb20f39ea4282fd636844e.tar.xz
fix #165, #277
Diffstat (limited to 'module/network')
-rw-r--r--module/network/HTTPDownload.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py
index 56f1cb1e4..40e2e69e1 100644
--- a/module/network/HTTPDownload.py
+++ b/module/network/HTTPDownload.py
@@ -142,6 +142,8 @@ class HTTPDownload():
chunksDone = 0
chunksCreated = False
+ if self.info.getCount() > 1: # This is a resume, if we were chunked originally assume still can
+ self.chunkSupport=True
while 1:
#need to create chunks