summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-30 23:38:29 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-30 23:38:29 +0200
commitc63e54009a51140a177681efb0c111d76612ece7 (patch)
tree3c239361928623d34ad63592368e982c018bb916
parent[GoogledriveCom][UlozTo] Fix handleDirect (2) (diff)
downloadpyload-c63e54009a51140a177681efb0c111d76612ece7.tar.xz
[TusfilesNet] Fix downloadLink
-rw-r--r--module/plugins/hoster/TusfilesNet.py6
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: