Fix a bug that triggers the "JACK is sick" status

The bug was triggered by reactivating JACK from ladish and was caused by
some missed Python 2 code.
This commit is contained in:
Yclept Nemo 2023-07-19 18:11:25 -04:00
parent 0a61977400
commit 2effc3fe8a
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ class LadiStatusTray(Gtk.StatusIcon, LadiStatusIcon):
self.set_tooltip_safe ("JACK is stopped")
self.set_icon ("stopped")
self.clear_diagnose_text()
except (Exception, e):
except Exception as e:
self.set_tooltip_safe ("JACK is sick")
self.set_diagnose_text(repr(e))
self.set_icon ("stopped")