diff --git a/gajim/roster_window.py b/gajim/roster_window.py index b6df49072..f497229aa 100644 --- a/gajim/roster_window.py +++ b/gajim/roster_window.py @@ -2381,7 +2381,7 @@ class RosterWindow: else: try: w.window.destroy() - except AttributeError, RuntimeError: + except (AttributeError, RuntimeError): w.destroy() def close_all(self, account, force=False):