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:
parent
0a61977400
commit
2effc3fe8a
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue