summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/extractor/SevenZip.py
diff options
context:
space:
mode:
authorGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-22 00:07:16 +0200
committerGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-22 00:07:16 +0200
commit32bd87243e0a4ac900098abda02cae0bbf7db72d (patch)
tree24a575f4c7319a3f9048718a08094bb510f72603 /pyload/plugin/extractor/SevenZip.py
parentnow the plugin attribute '__name' is no more used it is reduntant and (diff)
downloadpyload-32bd87243e0a4ac900098abda02cae0bbf7db72d.tar.xz
little fix
Diffstat (limited to 'pyload/plugin/extractor/SevenZip.py')
-rw-r--r--pyload/plugin/extractor/SevenZip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/extractor/SevenZip.py b/pyload/plugin/extractor/SevenZip.py
index 587db5563..cf5f7bfb8 100644
--- a/pyload/plugin/extractor/SevenZip.py
+++ b/pyload/plugin/extractor/SevenZip.py
@@ -20,7 +20,7 @@ class SevenZip(UnRar):
CMD = "7z"
- NAME = __name__
+ NAME = __name__.rsplit('.', 1)[1]
VERSION = ""
EXTENSIONS = [".7z", ".xz", ".zip", ".gz", ".gzip", ".tgz", ".bz2", ".bzip2",