From ffb46ab200df55303836cc49e61b971b02e67ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20H=C3=B6rnlein?= Date: Wed, 25 Mar 2015 18:39:54 +0100 Subject: [ExtractArchive] Send2Trash Integration --- module/plugins/internal/Extractor.py | 4 ++-- module/plugins/internal/UnRar.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'module/plugins/internal') 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: -- cgit v1.2.3