summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-30 10:03:10 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-30 10:03:10 +0100
commitf7d58afbccabb735bc5865222991f5b204f53725 (patch)
tree33524d294813184cb367a0e0b9f87e4e7c276177 /module
parentFix https://github.com/pyload/pyload/issues/2235 (diff)
downloadpyload-f7d58afbccabb735bc5865222991f5b204f53725.tar.xz
[SimpleHoster] Fix check_download routine
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hooks/ExternalScripts.py2
-rw-r--r--module/plugins/internal/SimpleHoster.py4
2 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py
index 3bda8a778..830be52cd 100644
--- a/module/plugins/hooks/ExternalScripts.py
+++ b/module/plugins/hooks/ExternalScripts.py
@@ -118,7 +118,7 @@ class ExternalScripts(Addon):
self.log_debug("Folder `%s` not found" % folder)
return
- self.log_info(_("Executing %s scripts...") % folder)
+ self.log_info(_("Executing scripts in folder `%s`...") % folder)
for file in scripts:
try:
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index 568f2ce61..c152ee032 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -16,7 +16,7 @@ from module.plugins.internal.misc import (encode, parse_name, parse_size,
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "2.15"
+ __version__ = "2.16"
__status__ = "stable"
__pattern__ = r'^unmatchable$'
@@ -290,8 +290,6 @@ class SimpleHoster(Hoster):
def check_download(self):
- super(SimpleHoster, self).check_download()
-
self.log_info(_("Checking file (with built-in rules)..."))
for r, p in self.FILE_ERRORS:
errmsg = self.scan_download({r: re.compile(p)})