Fix path splitting in translation updater script

This commit is contained in:
Muhammad Rifqi Priyo Susanto 2024-03-30 17:08:18 +07:00 committed by GitHub
parent 6e3246c5fd
commit e8a8525bcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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