diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-25 20:19:33 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-25 20:19:33 +0100 |
commit | a74e145f71941c9ee0a02da047167c43e5085b6f (patch) | |
tree | 6cf04236385c792f4e73c8242fb52e4b331b678b /module/plugins/internal | |
parent | [MegaRapidoNet] Cleanup (diff) | |
parent | [ExtractArchive] Send2Trash Integration (diff) | |
download | pyload-a74e145f71941c9ee0a02da047167c43e5085b6f.tar.xz |
Merge pull request #1285 from immenz/dev_extract
[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: |