Skip to content

Commit

Permalink
remove str-cast from Path variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Stunkymonkey committed Dec 29, 2023
1 parent 5570052 commit 7c48ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def create_mo_files():
for po_path in Path(prefix).glob(PO_FILES):
mo = po_path.with_suffix(".mo")

subprocess.run(["msgfmt", "-o", str(mo), str(po_path)], check=True)
subprocess.run(["msgfmt", "-o", mo, po_path], check=True)
mo_files.append(str(mo.relative_to(prefix)))

return mo_files
Expand Down

0 comments on commit 7c48ee7

Please sign in to comment.