Skip to content

Commit f3030b2

Browse files
committed
Fix root model error message formatting
1 parent 6812b7b commit f3030b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ymmsl/v0_2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def root_model(self, selected_model: Optional[Reference] = None) -> Model:
262262
models = '\n- '.join([str(m.name) for m in root_models])
263263
raise RuntimeError(
264264
f'The selected model "{selected_model}" could not be found in this'
265-
' configuration. The following models are present:\n- {models}')
265+
f' configuration. The following models are present:\n- {models}')
266266

267267
if len(root_models) == 1:
268268
return root_models[0]

0 commit comments

Comments
 (0)