Skip to content

Commit

Permalink
bugfix Technology inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
atait committed Aug 5, 2022
1 parent 948ad28 commit b43c37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lymask/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def resolve_pya_tech(pya_tech_or_name=None):
pya_tech = active_technology()
elif isinstance(pya_tech_or_name, str):
pya_tech = Technology.technology_by_name(pya_tech_or_name)
elif isinstance(pya_tech_or_name, Technology):
elif isinstance(pya_tech_or_name, pya.Technology):
pya_tech = pya_tech_or_name
else:
raise TypeError(f'Cannot recognize {pya_tech_or_name} as an installed KLayout technology')
Expand Down

0 comments on commit b43c37f

Please sign in to comment.