From cae5d45dde2d245aab5900ec5908f59eee0a7358 Mon Sep 17 00:00:00 2001 From: Sam Mellor Date: Wed, 23 Oct 2024 12:06:46 -0700 Subject: [PATCH] Permit `version` key in fp-lib-table file to be absent --- src/faebryk/libs/kicad/fileformats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/faebryk/libs/kicad/fileformats.py b/src/faebryk/libs/kicad/fileformats.py index 97f14829..2392ffeb 100644 --- a/src/faebryk/libs/kicad/fileformats.py +++ b/src/faebryk/libs/kicad/fileformats.py @@ -1343,7 +1343,7 @@ class C_lib: options: str descr: str - version: int = field(**sexp_field(assert_value=7)) + version: int | None = field(default=None, **sexp_field()) libs: list[C_lib] = field(**sexp_field(multidict=True), default_factory=list) fp_lib_table: C_fp_lib_table