summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ExtractArchive.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 17:49:14 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 17:49:14 +0200
commit8e15c1af88b61cebda68a3b40352bf388c2010c7 (patch)
treebd1fb40094d907ccad41b4770f947cf9cac020cf /module/plugins/hooks/ExtractArchive.py
parentMerge branch 'pr/n1997_GammaC0de' into stable (diff)
downloadpyload-8e15c1af88b61cebda68a3b40352bf388c2010c7.tar.xz
Spare code cosmetics (3)
Diffstat (limited to 'module/plugins/hooks/ExtractArchive.py')
-rw-r--r--module/plugins/hooks/ExtractArchive.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py
index 034a4b81a..48ac029e5 100644
--- a/module/plugins/hooks/ExtractArchive.py
+++ b/module/plugins/hooks/ExtractArchive.py
@@ -97,7 +97,7 @@ class ArchiveQueue(object):
class ExtractArchive(Addon):
- __name__ = "ExtractArchive"
+ __name = "ExtractArchive"
__type__ = "hook"
__version__ = "1.52"
__status__ = "testing"
@@ -162,7 +162,7 @@ class ExtractArchive(Addon):
self.log_warning(_("Could not activate: %s") % p, e)
if self.extractors:
- self.log_debug(*["Found %s %s" % (Extractor.__name__, Extractor.VERSION) for Extractor in self.extractors])
+ self.log_debug(*["Found %s %s" % (Extractor.__name, Extractor.VERSION) for Extractor in self.extractors])
self.extract_queued() #: Resume unfinished extractions
else:
self.log_info(_("No Extract plugins activated"))
@@ -293,7 +293,7 @@ class ExtractArchive(Addon):
for Extractor in self.extractors:
targets = Extractor.get_targets(files_ids)
if targets:
- self.log_debug("Targets for %s: %s" % (Extractor.__name__, targets))
+ self.log_debug("Targets for %s: %s" % (Extractor.__name, targets))
matched = True
for fname, fid, fout in targets: