Skip to content

Commit

Permalink
Show module ref in warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yaqwsx committed Aug 2, 2018
1 parent fef2eac commit 6ba3f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcbdraw.py
Expand Up @@ -478,7 +478,7 @@ def component_from_library(lib, name, value, ref, pos, comp, highlight):
return
f = get_model_file(comp["libraries"], lib, name, ref, comp["remapping"])
if not f:
print("Warning: component '{}' from library '{}' was not found".format(name, lib))
print("Warning: component '{}' for footprint '{}' from library '{}' was not found".format(name, ref, lib))
if comp["placeholder"]:
etree.SubElement(comp["container"], "rect", x=str(ki2dmil(pos[0]) - 150), y=str(ki2dmil(pos[1]) - 150),
width="300", height="300", style="fill:red;")
Expand Down

0 comments on commit 6ba3f5d

Please sign in to comment.