diff options
| author | 2015-03-30 23:38:29 +0200 | |
|---|---|---|
| committer | 2015-03-30 23:38:29 +0200 | |
| commit | c63e54009a51140a177681efb0c111d76612ece7 (patch) | |
| tree | 3c239361928623d34ad63592368e982c018bb916 /module/plugins/hoster | |
| parent | [GoogledriveCom][UlozTo] Fix handleDirect (2) (diff) | |
| download | pyload-c63e54009a51140a177681efb0c111d76612ece7.tar.xz | |
[TusfilesNet] Fix downloadLink
Diffstat (limited to 'module/plugins/hoster')
| -rw-r--r-- | module/plugins/hoster/TusfilesNet.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/module/plugins/hoster/TusfilesNet.py b/module/plugins/hoster/TusfilesNet.py index 9fdb6eae1..6021a4c30 100644 --- a/module/plugins/hoster/TusfilesNet.py +++ b/module/plugins/hoster/TusfilesNet.py @@ -7,7 +7,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class TusfilesNet(XFSHoster):      __name__    = "TusfilesNet"      __type__    = "hoster" -    __version__ = "0.09" +    __version__ = "0.10"      __pattern__ = r'https?://(?:www\.)?tusfiles\.net/\w{12}' @@ -27,9 +27,9 @@ class TusfilesNet(XFSHoster):          self.resumeDownload = True -    def downloadLink(self, link): +    def downloadLink(self, link, disposition=True):          try: -            return super(TusfilesNet, self).downloadLink(link) +            return super(TusfilesNet, self).downloadLink(link, disposition)          except BadHeader, e:              if e.code is 503: | 
