diff options
author | Jens Hörnlein <jens.hoernlein@googlemail.com> | 2015-03-25 18:39:54 +0100 |
---|---|---|
committer | Jens Hörnlein <jens.hoernlein@googlemail.com> | 2015-03-25 18:41:26 +0100 |
commit | ffb46ab200df55303836cc49e61b971b02e67ec8 (patch) | |
tree | 5e8b007daba620beb849d6b43287cea4556f562b /module/plugins/internal | |
parent | [ExtractArchive] Bugfix (diff) | |
download | pyload-ffb46ab200df55303836cc49e61b971b02e67ec8.tar.xz |
[ExtractArchive] Send2Trash Integration
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/Extractor.py | 4 | ||||
-rw-r--r-- | module/plugins/internal/UnRar.py | 4 |
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: |