summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon/ExtractArchive.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/addon/ExtractArchive.py')
-rw-r--r--pyload/plugin/addon/ExtractArchive.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/addon/ExtractArchive.py b/pyload/plugin/addon/ExtractArchive.py
index 478fb954e..b24bb37a2 100644
--- a/pyload/plugin/addon/ExtractArchive.py
+++ b/pyload/plugin/addon/ExtractArchive.py
@@ -57,11 +57,11 @@ from pyload.utils import safe_join, fs_encode
class ExtractArchive(Addon):
- __name = "ExtractArchive"
- __type = "addon"
- __version = "0.19"
+ __name__ = "ExtractArchive"
+ __type__ = "addon"
+ __version__ = "0.19"
- __config = [("activated" , "bool" , "Activated" , True ),
+ __config__ = [("activated" , "bool" , "Activated" , True ),
("fullpath" , "bool" , "Extract full path" , True ),
("overwrite" , "bool" , "Overwrite files" , True ),
("passwordfile" , "file" , "password file" , "archive_password.txt"),
@@ -73,9 +73,9 @@ class ExtractArchive(Addon):
("queue" , "bool" , "Wait for all downloads to be finished" , True ),
("renice" , "int" , "CPU Priority" , 0 )]
- __description = """Extract different kind of archives"""
- __license = "GPLv3"
- __authors = [("RaNaN", "ranan@pyload.org"),
+ __description__ = """Extract different kind of archives"""
+ __license__ = "GPLv3"
+ __authors__ = [("RaNaN", "ranan@pyload.org"),
("AndroKev", ""),
("Walter Purcaro", "vuolter@gmail.com")]
@@ -189,7 +189,7 @@ class ExtractArchive(Addon):
for plugin in self.plugins:
targets = plugin.getTargets(files_ids)
if targets:
- self.logDebug("Targets for %s: %s" % (plugin.__name, targets))
+ self.logDebug("Targets for %s: %s" % (plugin.__name__, targets))
matched = True
for target, fid in targets:
if target in processed: