forked from M-Labs/artiq
dashboard: fix a crash touching moninj without a connection.
This commit is contained in:
parent
2f1029c292
commit
4e5ea1bbaf
@ -262,8 +262,8 @@ class _DeviceManager:
|
||||
self.core_connection.inject(channel, TTLOverride.en.value, 0)
|
||||
else:
|
||||
raise ValueError
|
||||
# override state may have changed
|
||||
widget.refresh_display()
|
||||
# override state may have changed
|
||||
widget.refresh_display()
|
||||
|
||||
def setup_ttl_monitoring(self, enable, channel):
|
||||
if self.core_connection is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user