summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/Extractor.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-22 21:27:47 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-22 21:27:47 +0200
commit674b2a24f90b3cbf50630ddfdfb6c2b356a7bf7b (patch)
tree24a575f4c7319a3f9048718a08094bb510f72603 /pyload/plugin/Extractor.py
parentSpare code cosmetics (10) (diff)
parentlittle fix (diff)
downloadpyload-674b2a24f90b3cbf50630ddfdfb6c2b356a7bf7b.tar.xz
Merge pull request #11 from ardi69/0.4.10
some fixes
Diffstat (limited to 'pyload/plugin/Extractor.py')
-rw-r--r--pyload/plugin/Extractor.py6
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)