diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-23 13:53:29 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-23 13:53:29 +0200 |
commit | 2895b9908bbc59d1968e54998f929c980253e6c9 (patch) | |
tree | 9825aea24262c0c679a0400bbbfc469920eb909f /module | |
parent | fix DepositfilesCom (#407) (diff) | |
download | pyload-2895b9908bbc59d1968e54998f929c980253e6c9.tar.xz |
updated setup script
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hooks/ExtractArchive.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py index d48496c14..eaa68b834 100644 --- a/module/plugins/hooks/ExtractArchive.py +++ b/module/plugins/hooks/ExtractArchive.py @@ -140,6 +140,7 @@ class ExtractArchive(Hook): #iterate packages -> plugins -> targets for pid in ids: p = self.core.files.getPackage(pid) + self.logInfo(_("Extract package %s") % p.name) if not p: continue # determine output folder @@ -158,7 +159,7 @@ class ExtractArchive(Hook): for plugin in self.plugins: targets = plugin.getTargets(files_ids) - self.logDebug("Targets: %s" % targets) + if targets: self.logDebug("Targets: %s" % targets) for target, fid in targets: if target in extracted: self.logDebug(basename(target), "skipped") @@ -327,7 +328,7 @@ class AbtractExtractor: def __init__(self, m, file, out, fullpath, overwrite, renice): - """Initialize extractor for specifiy file + """Initialize extractor for specific file :param m: ExtractArchive Hook plugin :param file: Absolute filepath |