diff options
author | jaseg <git@jaseg.de> | 2024-07-19 19:23:11 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2024-07-19 19:23:11 +0200 |
commit | cbe8dfa252aa728980fb5aa515e34301a46d921d (patch) | |
tree | 1e6cebd7455ae264e281b38fdba792d6c6a0750f /gerbonara/cad | |
parent | 67ce4af95703a682f7278e62f5d81f5d1c8c4bb2 (diff) | |
download | gerbonara-cbe8dfa252aa728980fb5aa515e34301a46d921d.tar.gz gerbonara-cbe8dfa252aa728980fb5aa515e34301a46d921d.tar.bz2 gerbonara-cbe8dfa252aa728980fb5aa515e34301a46d921d.zip |
kicad: small syntax fix
Diffstat (limited to 'gerbonara/cad')
-rw-r--r-- | gerbonara/cad/kicad/primitives.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cad/kicad/primitives.py b/gerbonara/cad/kicad/primitives.py index 11da6c6..b1e112a 100644 --- a/gerbonara/cad/kicad/primitives.py +++ b/gerbonara/cad/kicad/primitives.py @@ -38,7 +38,7 @@ def layer_mask(layers): case 'B.Cu': mask |= 1<<31 case _: - if (m := re.match(f'In([0-9]+)\.Cu', layer)): + if (m := re.match(fr'In([0-9]+)\.Cu', layer)): mask |= 1<<int(m.group(1)) return mask |