kopia lustrzana https://github.com/projecthorus/horus-gui
Fix error in Horus v1 packet handling
rodzic
4f783b1766
commit
63db5c294b
|
@ -1239,7 +1239,7 @@ class MainWindow(QMainWindow):
|
|||
else:
|
||||
self.widgets["latestTelemTemperatureValue"].setText("---")
|
||||
|
||||
if len(_decoded['custom_field_names']) > 0:
|
||||
if 'custom_field_names' in _decoded and len(_decoded['custom_field_names']) > 0:
|
||||
column = 0
|
||||
for field in _decoded['custom_field_names']:
|
||||
field_nice = field.replace('_', ' ').title()
|
||||
|
|
Ładowanie…
Reference in New Issue