summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon/SkipRev.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/addon/SkipRev.py')
-rw-r--r--pyload/plugin/addon/SkipRev.py17
1 files changed, 5 insertions, 12 deletions
diff --git a/pyload/plugin/addon/SkipRev.py b/pyload/plugin/addon/SkipRev.py
index 157b55bbd..1c42ddfd8 100644
--- a/pyload/plugin/addon/SkipRev.py
+++ b/pyload/plugin/addon/SkipRev.py
@@ -6,14 +6,14 @@ from types import MethodType
from urllib import unquote
from urlparse import urlparse
-from module.PyFile import PyFile
-from module.plugins.Hook import Hook
-from module.plugins.Plugin import SkipDownload
+from pyload.datatype.File import PyFile
+from pyload.plugin.Addon import Addon
+from pyload.plugin.Plugin import SkipDownload
-class SkipRev(Hook):
+class SkipRev(Addon):
__name__ = "SkipRev"
- __type__ = "hook"
+ __type__ = "addon"
__version__ = "0.29"
__config__ = [("mode" , "Auto;Manual", "Choose recovery archives to skip" , "Auto"),
@@ -24,13 +24,6 @@ class SkipRev(Hook):
__authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
- interval = 0 #@TODO: Remove in 0.4.10
-
-
- def setup(self):
- self.info = {} #@TODO: Remove in 0.4.10
-
-
@staticmethod
def _setup(self):
self.pyfile.plugin._setup()