Added fallback for position name lookup in SetPositionsView
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Leon 2024-02-10 15:14:45 -05:00
parent 36c8d076fe
commit e337a2ae4e
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class SetPositionsView(ColumnView):
required = cfg.get('positions_required')
rows = []
for pos in avail:
name = position_names[pos]
name = position_names.get(pos, 'Unknown Position')
if pos in required:
name += ' (*)'
else: