summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Vuolter <vuolter@gmail.com> 2013-05-17 17:52:43 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2013-05-25 09:29:35 +0200
commit4df433cfb18df8428a497e7e6a3f6a5ca8b1fb06 (patch)
treeff9b050906fab78150a07d829e6afc8ff4ecf5a5
parentVersion 0.3: use endswith instead of find (thx stickell) (diff)
downloadpyload-4df433cfb18df8428a497e7e6a3f6a5ca8b1fb06.tar.xz
Version 0.04: forgot to import basename
-rw-r--r--module/plugins/hooks/SkipRev.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/SkipRev.py b/module/plugins/hooks/SkipRev.py
index ce57fe4b5..4e839dc7a 100644
--- a/module/plugins/hooks/SkipRev.py
+++ b/module/plugins/hooks/SkipRev.py
@@ -18,11 +18,11 @@
"""
from module.plugins.Hook import Hook
-
+from os.path import basename
class SkipRev(Hook):
__name__ = "SkipRev"
- __version__ = "0.03"
+ __version__ = "0.04"
__description__ = "Skip download when filename has rev extension"
__config__ = [
("activated", "bool", "Activated", "False"),