diff options
| author | 2011-05-12 21:57:53 +0200 | |
|---|---|---|
| committer | 2011-05-12 21:57:53 +0200 | |
| commit | e269bec1053f059ba0fd701c1e7fa1ad424726bc (patch) | |
| tree | 70e4ddb3578f7eef435ed563a9d6b7f9bbd9ddbb /module/network/HTTPDownload.py | |
| parent | fixed js (diff) | |
| download | pyload-e269bec1053f059ba0fd701c1e7fa1ad424726bc.tar.xz | |
some fixes, closed #306
Diffstat (limited to 'module/network/HTTPDownload.py')
| -rw-r--r-- | module/network/HTTPDownload.py | 5 | 
1 files changed, 2 insertions, 3 deletions
| 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 | 
