diff options
author | 2015-04-22 00:00:13 +0200 | |
---|---|---|
committer | 2015-04-22 00:00:13 +0200 | |
commit | 22d531c192d4b2b3159788d514377c43f8fdde6b (patch) | |
tree | 607d6023bc0e1068415aceefdf54fb611ac30b47 /pyload/plugin/Extractor.py | |
parent | some fixes (diff) | |
download | pyload-22d531c192d4b2b3159788d514377c43f8fdde6b.tar.xz |
now the plugin attribute '__name' is no more used it is reduntant and
obsolete
Diffstat (limited to 'pyload/plugin/Extractor.py')
-rw-r--r-- | pyload/plugin/Extractor.py | 6 |
1 files changed, 1 insertions, 5 deletions
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,16 +31,12 @@ 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() return any(name.endswith(ext) for ext in cls.EXTENSIONS) |