summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar EikeKre <eike.kretzmeyer@gmx.de> 2016-07-14 21:05:08 +0200
committerGravatar EikeKre <eike.kretzmeyer@gmx.de> 2016-07-14 21:05:08 +0200
commitc6f95ff8f8043a7e6c0cda2c092932fa4b98954a (patch)
treea8c62101f12785368feb1311d6ebcb3126ef7ed0
parent[YoutubeCom] fix #2542 (diff)
downloadpyload-c6f95ff8f8043a7e6c0cda2c092932fa4b98954a.tar.xz
fixed unpack zip and 7z archive
-rw-r--r--module/plugins/internal/SevenZip.py2
-rw-r--r--module/plugins/internal/UnRar.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SevenZip.py b/module/plugins/internal/SevenZip.py
index 5ad1156fe..a421bbbf8 100644
--- a/module/plugins/internal/SevenZip.py
+++ b/module/plugins/internal/SevenZip.py
@@ -21,7 +21,7 @@ class SevenZip(UnRar):
CMD = "7z"
- EXTENSIONS = ["7z", "xz", "zip", "gz", "gzip", "tgz", "bz2", "bzip2", "tbz2",
+ EXTENSIONS = ["7z", "xz", "gz", "gzip", "tgz", "bz2", "bzip2", "tbz2",
"tbz", "tar", "wim", "swm", "lzma", "rar", "cab", "arj", "z",
"taz", "cpio", "rpm", "deb", "lzh", "lha", "chm", "chw", "hxs",
"iso", "msi", "doc", "xls", "ppt", "dmg", "xar", "hfs", "exe",
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py
index 18416a4fe..e5f1cdf39 100644
--- a/module/plugins/internal/UnRar.py
+++ b/module/plugins/internal/UnRar.py
@@ -23,8 +23,8 @@ class UnRar(Extractor):
CMD = "unrar"
- EXTENSIONS = ["rar", "zip", "cab", "arj", "lzh", "tar", "gz", "ace", "uue",
- "bz2", "jar", "iso", "7z", "xz", "z"]
+ EXTENSIONS = ["rar", "cab", "arj", "lzh", "tar", "gz", "ace", "uue",
+ "bz2", "jar", "iso", "xz", "z"]
_RE_PART = re.compile(r'\.(part|r)\d+(\.rar|\.rev)?(\.bad)?', re.I)
_RE_FIXNAME = re.compile(r'Building (.+)')