diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-02 17:00:36 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-02 17:00:36 +0100 |
commit | a5a6cc0643c562a0d3e55a8577b4fc391009ff2b (patch) | |
tree | c05a26f0206ae0ff6cb6887bd64de1b974a6ead7 /module/plugins | |
parent | [SkipRev] Fixup 1 (diff) | |
download | pyload-a5a6cc0643c562a0d3e55a8577b4fc391009ff2b.tar.xz |
[SkipRev] Typo
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hooks/SkipRev.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/SkipRev.py b/module/plugins/hooks/SkipRev.py index e9cfa2ec5..a64f1a83b 100644 --- a/module/plugins/hooks/SkipRev.py +++ b/module/plugins/hooks/SkipRev.py @@ -9,7 +9,7 @@ from module.plugins.Plugin import SkipDownload class SkipRev(Hook): __name__ = "SkipRev" __type__ = "hook" - __version__ = "0.09" + __version__ = "0.10" __config__ = [("auto", "bool", "Automatically keep all rev files needed by package", True), ("tokeep", "int" , "Min number of rev files to keep for package" , 1), @@ -26,7 +26,7 @@ class SkipRev(Hook): def skipRev(self, pyfile, url, filename): - if REV.search(pyfile.name) is None or pyfile.getStatusName is "unskipped": + if REV.search(pyfile.name) is None or pyfile.getStatusName() is "unskipped": return tokeep = self.getConfig("tokeep") |