forked from M-Labs/artiq
1
0
Fork 0

dashboard: fix a crash touching moninj without a connection.

This commit is contained in:
whitequark 2017-07-04 17:53:48 +00:00
parent 2f1029c292
commit 4e5ea1bbaf
1 changed files with 2 additions and 2 deletions

View File

@ -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: