diff options
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 951434e3e..b2460bf9d 100644 --- a/pyload/plugin/addon/ExtractArchive.py +++ b/pyload/plugin/addon/ExtractArchive.py @@ -102,11 +102,11 @@ class ArchiveQueue(object):  class ExtractArchive(Addon): -    __name__    = "ExtractArchive" -    __type__    = "addon" -    __version__ = "1.29" +    __name    = "ExtractArchive" +    __type    = "addon" +    __version = "1.29" -    __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                                                                    ), @@ -122,9 +122,9 @@ class ExtractArchive(Addon):                    ("waitall"         , "bool"  , "Wait for all downloads to be finished"     , 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"   )] @@ -167,7 +167,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))              if self.getConfig("waitall"):                  self.extractPackage(*self.queue.get())  #: Resume unfinished extractions @@ -267,7 +267,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: | 
