Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ring630 committed Oct 29, 2024
1 parent 31e1a9f commit ae702a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyedb/configuration/cfg_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, pedb, pedb_object, **kwargs):
self.reference_designator = kwargs.get("reference_designator", None)
self.definition = kwargs.get("definition", None)
self.type = kwargs["part_type"].lower() if kwargs.get("part_type") else None
self.placement_layer = kwargs["placement_layer"]
self.placement_layer = kwargs.get("placement_layer", None)
self.pins = kwargs.get("pins", [])

self.port_properties = kwargs.get("port_properties", {})
Expand Down

0 comments on commit ae702a2

Please sign in to comment.