Skip to content

Commit

Permalink
patches: fix string formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
walkawayy committed Aug 13, 2024
1 parent f2f2c13 commit a69db44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _update_attribute_coord(data, name):
values = part.split("(")[1].split(")")[0]
for number in values.split(","):
new_values.append(str(int(int(number) * UI_MULTIPLIER)))
part = f"{name}={part.replace(values, ",".join(new_values))}"
part = f"{name}={part.replace(values, ','.join(new_values))}"
output.append(part)
return "".join(output)

Expand Down

0 comments on commit a69db44

Please sign in to comment.