summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-04 14:05:50 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-04 14:05:50 +0100
commita1d702007e16fb80294252e249d9e4e65ca906cd (patch)
tree14f1e746f8a33f5ba7936337bb6c8858cefbf09a /module/network
parentBetter download connection handling: Detect server error earlier, fallback to... (diff)
downloadpyload-a1d702007e16fb80294252e249d9e4e65ca906cd.tar.xz
little fix
Diffstat (limited to 'module/network')
-rw-r--r--module/network/HTTPDownload.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py
index 13c674833..ec742596c 100644
--- a/module/network/HTTPDownload.py
+++ b/module/network/HTTPDownload.py
@@ -289,12 +289,9 @@ class HTTPDownload():
#sleep(0.003) #supress busy waiting - limits dl speed to (1 / x) * buffersize
self.m.select(1)
- failed = False
for chunk in self.chunks:
chunk.flushFile() #make sure downloads are written to disk
- if failed: raise BadHeader(failed)
-
self._copyChunks()
def updateProgress(self):