diff options
author | 2015-02-16 03:40:45 +0100 | |
---|---|---|
committer | 2015-02-16 03:40:45 +0100 | |
commit | fcead1870013b6a970eca7878a66dbe783c80ea3 (patch) | |
tree | 9837d3b2cacba2f5d1a4c620b1cd02f26571b454 /pyload/plugin/addon/ExtractArchive.py | |
parent | Init cosmetics (diff) | |
download | pyload-fcead1870013b6a970eca7878a66dbe783c80ea3.tar.xz |
Partially revert acc46fc3497a66a427b795b4a22c6e71d69185a1
Diffstat (limited to 'pyload/plugin/addon/ExtractArchive.py')
-rw-r--r-- | pyload/plugin/addon/ExtractArchive.py | 16 |
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: |