summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar AndroKev <neureither.kevin@gmail.com> 2013-11-02 16:57:07 +0100
committerGravatar AndroKev <neureither.kevin@gmail.com> 2013-11-02 16:57:07 +0100
commitaa9c7048902bf0fc90153118cf36d47910c7699c (patch)
treede2cc1439729ef6cb19bd074e4e3ebe96a9894e8
parentUpdate AbstractExtractor.py (diff)
downloadpyload-aa9c7048902bf0fc90153118cf36d47910c7699c.tar.xz
Deleted default value and cleaned the code a little bit
-rw-r--r--module/plugins/hooks/ExtractArchive.py2
-rw-r--r--module/plugins/internal/UnRar.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py
index 704ef3c6e..be023301c 100644
--- a/module/plugins/hooks/ExtractArchive.py
+++ b/module/plugins/hooks/ExtractArchive.py
@@ -68,7 +68,7 @@ class ExtractArchive(Hook):
("deletearchive", "bool", "Delete archives when done", False),
("subfolder", "bool", "Create subfolder for each package", False),
("destination", "folder", "Extract files to", ""),
- ("excludefiles", "str", "Exclude files from unpacking(seperated by ;)", "nfo;log"),
+ ("excludefiles", "str", "Exclude files from unpacking (seperated by ;)", ""),
("recursive", "bool", "Extract archives in archvies", True),
("queue", "bool", "Wait for all downloads to be finished", True),
("renice", "int", "CPU Priority", 0)]
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py
index 00f15791a..8a97ac7b7 100644
--- a/module/plugins/internal/UnRar.py
+++ b/module/plugins/internal/UnRar.py
@@ -186,7 +186,7 @@ class UnRar(AbtractExtractor):
#overwrite flag
args.append("-o+") if self.overwrite else args.append("-o-")
- if self.excludefiles != "":
+ if self.excludefiles:
for word in self.excludefiles.split(';'):
args.append("-x*" + word)