Added fallback for position name lookup in SetPositionsView
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
36c8d076fe
commit
e337a2ae4e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue