2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03:34 +08:00

gui: display '---' on failed number result

This commit is contained in:
Sebastien Bourdeauducq 2015-07-18 10:26:47 +02:00
parent dd7920f0c3
commit 657f198cdc

View File

@ -64,7 +64,7 @@ class NumberDisplay(dockarea.Dock):
try:
n = float(data[result])
except:
n = 0.0
n = "---"
self.number.display(n)