diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-25 01:11:29 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-25 01:17:03 +0200 |
commit | 4da90891eb2544ac15a7d512aba8cb357f68ee5f (patch) | |
tree | 84eec3f9f27a880df052da43fb3a6a8112b39c24 /module/plugins/internal | |
parent | Fix and improve plugins logging (diff) | |
download | pyload-4da90891eb2544ac15a7d512aba8cb357f68ee5f.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/UnRar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py index 7478d68db..d8bb6f251 100644 --- a/module/plugins/internal/UnRar.py +++ b/module/plugins/internal/UnRar.py @@ -168,9 +168,9 @@ class UnRar(AbtractExtractor): def getDeleteFiles(self): if ".part" in basename(self.file): - return glob(re.sub("(?<=\.part)([01]+)", "*", self.file, re.IGNORECASE)) + return glob(re.sub("(?<=\.part)([01]+)", "*", self.file, re.I)) # get files which matches .r* and filter unsuited files out - parts = glob(re.sub(r"(?<=\.r)ar$", "*", self.file, re.IGNORECASE)) + parts = glob(re.sub(r"(?<=\.r)ar$", "*", self.file, re.I)) return filter(lambda x: self.re_partfiles.match(x), parts) |