Skip to content

Commit

Permalink
Fix path splitting in translation updater script
Browse files Browse the repository at this point in the history
  • Loading branch information
srifqi committed Mar 30, 2024
1 parent 6e3246c commit e8a8525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/mod_translation_updater.py
Expand Up @@ -425,7 +425,7 @@ def generate_template(folder, mod_name):
sources = sorted(list(sources), key=str.lower)
newSources = []
for i in sources:
i = "/".join(os.path.split(i)).lstrip("/")
i = i.replace("\\", "/")
newSources.append(f"{symbol_source_prefix} {i} {symbol_source_suffix}")
dOut[d] = newSources

Expand Down

0 comments on commit e8a8525

Please sign in to comment.