Skip to content

Commit

Permalink
use .format() where we call .join()
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjonesBSU committed Jul 18, 2024
1 parent e3f35a2 commit c3a92fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mbuild/port.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def access_labels(self):
for label in port_labels:
access_labels.add(f"['{label}']")
for label in itertools.product(referrer_labels, port_labels):
access_labels.add(f"['{"']['".join(label)}']")
access_labels.add("['{}']".format("']['".join(label)))

for key, val in self.root.labels.items():
if self is val:
Expand Down

0 comments on commit c3a92fa

Please sign in to comment.