summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/Extractor.py4
-rw-r--r--module/plugins/internal/UnRar.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/internal/Extractor.py b/module/plugins/internal/Extractor.py
index dad57dc7f..ec6a4e175 100644
--- a/module/plugins/internal/Extractor.py
+++ b/module/plugins/internal/Extractor.py
@@ -20,7 +20,7 @@ class PasswordError(Exception):
class Extractor:
__name__ = "Extractor"
- __version__ = "0.22"
+ __version__ = "0.23"
__description__ = """Base extractor plugin"""
__license__ = "GPLv3"
@@ -75,7 +75,7 @@ class Extractor:
overwrite=False,
excludefiles=[],
renice=0,
- delete=False,
+ delete='No',
keepbroken=False,
fid=None):
""" Initialize extractor for specific file """
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py
index 87cf61a62..75c192bac 100644
--- a/module/plugins/internal/UnRar.py
+++ b/module/plugins/internal/UnRar.py
@@ -22,7 +22,7 @@ def renice(pid, value):
class UnRar(Extractor):
__name__ = "UnRar"
- __version__ = "1.18"
+ __version__ = "1.19"
__description__ = """Rar extractor plugin"""
__license__ = "GPLv3"
@@ -216,7 +216,7 @@ class UnRar(Extractor):
args.append("-o+")
else:
args.append("-o-")
- if self.delete:
+ if self.delete != 'No':
args.append("-or")
for word in self.excludefiles: