summaryrefslogtreecommitdiffstats
path: root/module/network/Browser.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-01-27 14:49:40 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2011-01-27 14:49:40 +0100
commitba84504faca42476cedeb717558b114f4084605b (patch)
tree47fc38486c75ab423d60ca5a305b31ee05a950e6 /module/network/Browser.py
parentsome improvements (diff)
downloadpyload-ba84504faca42476cedeb717558b114f4084605b.tar.xz
progress update optimizations
Diffstat (limited to 'module/network/Browser.py')
-rw-r--r--module/network/Browser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/network/Browser.py b/module/network/Browser.py
index 054e099b3..9585eb7cc 100644
--- a/module/network/Browser.py
+++ b/module/network/Browser.py
@@ -74,11 +74,11 @@ class Browser(object):
self._size = self.dl.size
self.dl.abort = True
- def httpDownload(self, url, filename, get={}, post={}, ref=True, cookies=True, chunks=1, resume=False):
+ def httpDownload(self, url, filename, get={}, post={}, ref=True, cookies=True, chunks=1, resume=False, progressNotify=None):
""" this can also download ftp """
self.dl = HTTPDownload(url, filename, get, post, self.lastEffectiveURL if ref else None,
self.cj if cookies else None, self.bucket, self.interface,
- self.proxies)
+ self.proxies, progressNotify)
self.dl.download(chunks, resume)
self._size = self.dl.size