diff --git a/picard/util/__init__.py b/picard/util/__init__.py index d88f34be5..693d93d84 100644 --- a/picard/util/__init__.py +++ b/picard/util/__init__.py @@ -574,7 +574,7 @@ class IgnoreUpdatesContext: if self._entered == 1 and self._on_first_enter: self._on_first_enter() - def __exit__(self, type, value, tb): + def __exit__(self, exc_type, exc_value, traceback): self._entered -= 1 if self._on_exit: self._on_exit()