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.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'pyload/plugin/Extractor.py') diff --git a/pyload/plugin/Extractor.py b/pyload/plugin/Extractor.py index e50ab8818..539ab624d 100644 --- a/pyload/plugin/Extractor.py +++ b/pyload/plugin/Extractor.py @@ -31,15 +31,11 @@ class Extractor: EXTENSIONS = [] + NAME = __name__ VERSION = "" REPAIR = False - @classmethod - def NAME(self): - return getattr(self, "_" + self.__name__ + "__name") - - @classmethod def isArchive(cls, filename): name = os.path.basename(filename).lower() -- cgit v1.2.3