From 22d531c192d4b2b3159788d514377c43f8fdde6b Mon Sep 17 00:00:00 2001 From: Armin Date: Wed, 22 Apr 2015 00:00:13 +0200 Subject: now the plugin attribute '__name' is no more used it is reduntant and obsolete --- pyload/plugin/extractor/SevenZip.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pyload/plugin/extractor/SevenZip.py') diff --git a/pyload/plugin/extractor/SevenZip.py b/pyload/plugin/extractor/SevenZip.py index 3c5e86602..587db5563 100644 --- a/pyload/plugin/extractor/SevenZip.py +++ b/pyload/plugin/extractor/SevenZip.py @@ -15,11 +15,12 @@ class SevenZip(UnRar): __description = """7-Zip extractor plugin""" __license = "GPLv3" - __authors = [("Michael Nowak" , "" ), - ("Walter Purcaro", "vuolter@gmail.com")] + __authors = [("Michael Nowak" , ""), + ("Walter Purcaro", "vuolter@gmail.com")] CMD = "7z" + NAME = __name__ VERSION = "" EXTENSIONS = [".7z", ".xz", ".zip", ".gz", ".gzip", ".tgz", ".bz2", ".bzip2", -- cgit v1.2.3 From 32bd87243e0a4ac900098abda02cae0bbf7db72d Mon Sep 17 00:00:00 2001 From: Armin Date: Wed, 22 Apr 2015 00:07:16 +0200 Subject: little fix --- pyload/plugin/extractor/SevenZip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/plugin/extractor/SevenZip.py') 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", -- cgit v1.2.3