diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2014-01-29 18:51:38 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2014-01-29 18:51:38 +0100 |
commit | 3401bcfd5ed57dec9e0f78553d627d7608170cb6 (patch) | |
tree | c36ac6fe4581379ed03f72409244aa40414b9580 /pyload/plugins/network | |
parent | fixed new waiting dl rule (diff) | |
download | pyload-3401bcfd5ed57dec9e0f78553d627d7608170cb6.tar.xz |
added connection flags to download status
Diffstat (limited to 'pyload/plugins/network')
-rw-r--r-- | pyload/plugins/network/CurlDownload.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyload/plugins/network/CurlDownload.py b/pyload/plugins/network/CurlDownload.py index e23f193e7..819c6cfb9 100644 --- a/pyload/plugins/network/CurlDownload.py +++ b/pyload/plugins/network/CurlDownload.py @@ -23,6 +23,7 @@ from shutil import move import pycurl +from pyload.Api import Connection from pyload.plugins.Base import Abort from pyload.network.CookieJar import CookieJar from pyload.utils.fs import save_join, fs_encode @@ -170,6 +171,7 @@ class CurlDownload(Download): #need to create chunks if not chunksCreated and self.chunkSupport and self.size: #will be set later by first chunk + self.flags ^= Connection.Resumable if not resume: self.info.setSize(self.size) self.info.createChunks(chunks) |