mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
fix error converting translations to .po if .po files already exist
This commit is contained in:
@@ -50,7 +50,7 @@ def convert_translations_to_po():
|
||||
for file in Path(temp_po_dir.name).iterdir():
|
||||
branches_subdir = BRANCHES_DIR / file.stem
|
||||
branches_subdir.mkdir(exist_ok=True)
|
||||
file.rename(branches_subdir / file.name)
|
||||
file.replace(branches_subdir / file.name)
|
||||
|
||||
temp_po_dir.cleanup()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user