Skip to content

Commit 69f0b31

Browse files
committed
fix: Missed f-string in error log
1 parent 23612d9 commit 69f0b31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

keymap_drawer/physical_layout.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,9 @@ def generate(self) -> PhysicalLayout:
285285
config=self.config, **_map_zmk_layout(self.zmk_keyboard, self.layout_name)
286286
).generate()
287287
except ValueError as exc:
288-
raise ValueError('A physical layout for zmk_keyboard "{self.zmk_keyboard}" could not be found') from exc
288+
raise ValueError(
289+
f'A physical layout for zmk_keyboard "{self.zmk_keyboard}" could not be found'
290+
) from exc
289291

290292
if self.zmk_shared_layout is not None:
291293
fetched = _get_zmk_shared_layout(self.zmk_shared_layout, draw_cfg.use_local_cache)

0 commit comments

Comments
 (0)