Skip to content

Commit

Permalink
Avoid extra warnings for PCB fields with spaces
Browse files Browse the repository at this point in the history
See #778
  • Loading branch information
set-soft committed Feb 5, 2025
1 parent b0b8802 commit 0deaac2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kibot/kiplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ def expand_footprint_fields(fields, env):
depth += 1
if depth == GS.MAXDEPTH:
logger.warning(W_MAXDEPTH+'Too much nested variables replacements, possible loop ({})'.format(v))
new_fields[k] = new_value
# Remove extra spaces as we did with the schematic values
new_fields[k] = new_value.strip()
return new_fields


Expand Down

0 comments on commit 0deaac2

Please sign in to comment.