diff options
Diffstat (limited to 'module/plugins')
| -rw-r--r-- | module/plugins/hooks/ExtractArchive.py | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py index dde1a5ddc..dd1a82a82 100644 --- a/module/plugins/hooks/ExtractArchive.py +++ b/module/plugins/hooks/ExtractArchive.py @@ -91,7 +91,10 @@ class ArchiveQueue(object):      def remove(self, item):          queue = self.get() -        queue.pop(item, None) +        try: +            queue.remove(item) +        except ValueError: +            pass             return self.set(queue) @@ -99,7 +102,7 @@ class ArchiveQueue(object):  class ExtractArchive(Hook):      __name__    = "ExtractArchive"      __type__    = "hook" -    __version__ = "1.21" +    __version__ = "1.22"      __config__ = [("activated"       , "bool"  , "Activated"                                 , True                                                                     ),                    ("fullpath"        , "bool"  , "Extract with full paths"                   , True                                                                     ), | 
