From fcead1870013b6a970eca7878a66dbe783c80ea3 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 16 Feb 2015 03:40:45 +0100 Subject: Partially revert acc46fc3497a66a427b795b4a22c6e71d69185a1 --- pyload/plugin/addon/ExtractArchive.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'pyload/plugin/addon/ExtractArchive.py') 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: -- cgit v1.2.3