summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-18 13:29:04 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-18 13:29:04 +0100
commit46f690782d55d54153fdba2f6b352c9be653eae5 (patch)
tree76743dd169dd6713d8d6f2621e7d3a88ca72da2d /module/plugins/internal
parentMerge branch 'pr/n1033_sahilshekhawat' into stable (diff)
downloadpyload-46f690782d55d54153fdba2f6b352c9be653eae5.tar.xz
[SimpleHoster] Fix typo
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/SimpleHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index c1982ee67..afbfea1c8 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -219,7 +219,7 @@ def secondsToMidnight(gmt=0):
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "1.01"
+ __version__ = "1.02"
__pattern__ = r'^unmatchable$'
@@ -589,7 +589,7 @@ class SimpleHoster(Hoster):
def handleDirect(self, pyfile):
- link = self.fileUrl(pyfile.url, self.resumeDownload)
+ link = self.directLink(pyfile.url, self.resumeDownload)
if link:
self.logInfo(_("Direct download link detected"))