Skip to content

Commit

Permalink
gmoccapy: fix error when audio is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
hansu committed Dec 29, 2023
1 parent 7f2f1b6 commit 760f15c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/emc/usr_intf/gmoccapy/gmoccapy.py
Expand Up @@ -2026,6 +2026,7 @@ def _init_audio(self):
self.widgets.audio_alert_chooser.set_filename(self.alert_sound)
self.widgets.audio_error_chooser.set_filename(self.error_sound)
else:
self.audio_active = False
LOG.warning(_("No audio available! PYGST library not installed? "
"Is python-gstX.XX installed?"))

Expand Down

0 comments on commit 760f15c

Please sign in to comment.