summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/UnSkipOnFail.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/UnSkipOnFail.py')
-rw-r--r--module/plugins/hooks/UnSkipOnFail.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/UnSkipOnFail.py b/module/plugins/hooks/UnSkipOnFail.py
index 4b7a58be8..455832b09 100644
--- a/module/plugins/hooks/UnSkipOnFail.py
+++ b/module/plugins/hooks/UnSkipOnFail.py
@@ -22,11 +22,12 @@ from module.utils import fs_encode
from module.plugins.Hook import Hook
from module.PyFile import PyFile
+
class UnSkipOnFail(Hook):
__name__ = 'UnSkipOnFail'
__version__ = '0.01'
__description__ = 'When a download fails, restart "skipped" duplicates.'
- __config__ = [('activated', 'bool', 'Activated', True),]
+ __config__ = [('activated', 'bool', 'Activated', True), ]
__author_name__ = ('hagg',)
__author_mail__ = ('')
@@ -94,4 +95,3 @@ class UnSkipOnFail(Hook):
pyfile.setStatus(new_status)
self.core.files.save()
pyfile.release()
-