diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-26 18:29:00 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-26 18:29:00 +0100 |
commit | c3b406a00aba3fa549676a8181a5eb2a99d77c87 (patch) | |
tree | dc9c76f31e4c0baec0a53b6e2bd03182de08f518 /pyload/plugin/addon/ExtractArchive.py | |
parent | Cleanup (diff) | |
download | pyload-c3b406a00aba3fa549676a8181a5eb2a99d77c87.tar.xz |
Diffstat (limited to 'pyload/plugin/addon/ExtractArchive.py')
-rw-r--r-- | pyload/plugin/addon/ExtractArchive.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugin/addon/ExtractArchive.py b/pyload/plugin/addon/ExtractArchive.py index 419ca609e..369be11bb 100644 --- a/pyload/plugin/addon/ExtractArchive.py +++ b/pyload/plugin/addon/ExtractArchive.py @@ -104,11 +104,11 @@ class ArchiveQueue(object): class ExtractArchive(Addon): - __name__ = "ExtractArchive" - __type__ = "addon" - __version__ = "1.38" + __name = "ExtractArchive" + __type = "addon" + __version = "1.38" - __config__ = [("activated" , "bool" , "Activated" , True ), + __config = [("activated" , "bool" , "Activated" , True ), ("fullpath" , "bool" , "Extract with full paths" , True ), ("overwrite" , "bool" , "Overwrite files" , False ), ("keepbroken" , "bool" , "Try to extract broken archives" , False ), @@ -125,9 +125,9 @@ class ExtractArchive(Addon): ("waitall" , "bool" , "Run after all downloads was processed" , False ), ("renice" , "int" , "CPU priority" , 0 )] - __description__ = """Extract different kind of archives""" - __license__ = "GPLv3" - __authors__ = [("Walter Purcaro", "vuolter@gmail.com"), + __description = """Extract different kind of archives""" + __license = "GPLv3" + __authors = [("Walter Purcaro", "vuolter@gmail.com"), ("Immenz" , "immenz@gmx.net" )] @@ -173,7 +173,7 @@ class ExtractArchive(Addon): print_exc() if self.extractors: - self.logInfo(_("Activated") + " " + "|".join("%s %s" % (Extractor.__name__,Extractor.VERSION) for Extractor in self.extractors)) + self.logInfo(_("Activated") + " " + "|".join("%s %s" % (Extractor.__name,Extractor.VERSION) for Extractor in self.extractors)) self.extractQueued() #: Resume unfinished extractions else: self.logInfo(_("No Extract plugins activated")) @@ -288,7 +288,7 @@ class ExtractArchive(Addon): for Extractor in self.extractors: targets = Extractor.getTargets(files_ids) if targets: - self.logDebug("Targets for %s: %s" % (Extractor.__name__, targets)) + self.logDebug("Targets for %s: %s" % (Extractor.__name, targets)) matched = True for fname, fid, fout in targets: |