Skip to content

Commit

Permalink
Minor fix (remove double file ending)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutel authored and HelgeGehring committed Dec 28, 2020
1 parent 3edb9a1 commit 1db17bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdshelpers/geometry/chip.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def save_desc(self, filename: str):
"""
if not filename.endswith('.desc'):
filename += '.desc'
with open(filename + '.desc', 'w') as f:
with open(filename, 'w') as f:
json.dump(self.get_desc(), f, indent=True)

def get_reduced_layer(self, layer: int):
Expand Down

0 comments on commit 1db17bd

Please sign in to comment.