summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-12 20:34:42 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-12 20:34:42 +0100
commit430092f0ba67e4bb2dd75433b08340d0afca0fa9 (patch)
treea91a98d4017a35767529f285ff32ce27b74bafa2 /module/plugins/hooks
parentFix missing create_getInfo (diff)
downloadpyload-430092f0ba67e4bb2dd75433b08340d0afca0fa9.tar.xz
Update plugins after SimpleHoster changes
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/SkipRev.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/SkipRev.py b/module/plugins/hooks/SkipRev.py
index 609bb4197..107740a3d 100644
--- a/module/plugins/hooks/SkipRev.py
+++ b/module/plugins/hooks/SkipRev.py
@@ -10,7 +10,7 @@ from module.plugins.Plugin import SkipDownload
class SkipRev(Hook):
__name__ = "SkipRev"
__type__ = "hook"
- __version__ = "0.14"
+ __version__ = "0.15"
__config__ = [("tokeep", "int", "Number of rev files to keep for package (-1 to auto)", -1)]
@@ -37,10 +37,10 @@ class SkipRev(Hook):
if hasattr(plugin, "info") and 'name' in plugin.info and plugin.info['name']:
name = plugin.info['name']
- elif hasattr(plugin, "parseInfo"):
- name = next(plugin.parseInfo([url]))['name']
+ elif hasattr(plugin, "parseInfos"):
+ name = next(plugin.parseInfos([url]))['name']
- elif hasattr(plugin, "getInfo"): #@NOTE: if parseInfo was not found, getInfo should be missing too
+ elif hasattr(plugin, "getInfo"): #@NOTE: if parseInfos was not found, getInfo should be missing too
name = plugin.getInfo(url)['name']
else: