Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Fix: Libs: KiCad: Fileformat: Permit version key in fp-lib-table
Browse files Browse the repository at this point in the history
…file to be absent (#99)

Permit `version` key in fp-lib-table file to be absent
  • Loading branch information
sam-mellor authored Oct 24, 2024
1 parent c18574a commit eaead9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/faebryk/libs/kicad/fileformats.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit eaead9d

Please sign in to comment.