Skip to content

Commit

Permalink
Fix: Typo in #22
Browse files Browse the repository at this point in the history
  • Loading branch information
khwong-c committed Jan 20, 2024
1 parent 720d4e4 commit 7416ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magia/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def elaborated_loc(self) -> str:
"""
return self._ANNOTATION_TEMPLATE.substitute(
net_name=self.net_name,
comment=f"{self._comment}\n" if self.annotated else "",
comment=f"{self._comment}\n" if self._comment else "",
loc=self.loc,
)

Expand Down

0 comments on commit 7416ad1

Please # to comment.