From 3401bcfd5ed57dec9e0f78553d627d7608170cb6 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 29 Jan 2014 18:51:38 +0100 Subject: added connection flags to download status --- pyload/plugins/network/CurlDownload.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pyload/plugins/network') 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) -- cgit v1.2.3