From aa9c7048902bf0fc90153118cf36d47910c7699c Mon Sep 17 00:00:00 2001 From: AndroKev Date: Sat, 2 Nov 2013 16:57:07 +0100 Subject: Deleted default value and cleaned the code a little bit --- module/plugins/hooks/ExtractArchive.py | 2 +- module/plugins/internal/UnRar.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins') 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) -- cgit v1.2.3