From e269bec1053f059ba0fd701c1e7fa1ad424726bc Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 12 May 2011 21:57:53 +0200 Subject: some fixes, closed #306 --- module/network/HTTPDownload.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/network/HTTPDownload.py') diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py index 9d0395c6f..56f1cb1e4 100644 --- a/module/network/HTTPDownload.py +++ b/module/network/HTTPDownload.py @@ -33,7 +33,7 @@ from module.utils import save_join class HTTPDownload(): """ loads a url http + ftp """ def __init__(self, url, filename, get={}, post={}, referer=None, cj=None, bucket=None, - interface=None, proxies={}, progressNotify=None, disposition=False): + options={}, progressNotify=None, disposition=False): self.url = url self.filename = filename #complete file destination, not only name self.get = get @@ -41,8 +41,7 @@ class HTTPDownload(): self.referer = referer self.cj = cj #cookiejar if cookies are needed self.bucket = bucket - self.interface = interface - self.proxies = proxies + self.options = options self.disposition = disposition # all arguments -- cgit v1.2.3