kicad: small syntax fix

This commit is contained in:
jaseg 2024-07-19 19:23:11 +02:00
parent 67ce4af957
commit cbe8dfa252

View file

@ -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