mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Translation updater: Fix error when no translation strings were found
This commit is contained in:
parent
321b217feb
commit
95e77bd7cb
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ def generate_template(folder, mod_name):
|
||||||
dOut[s] = sources
|
dOut[s] = sources
|
||||||
|
|
||||||
if len(dOut) == 0:
|
if len(dOut) == 0:
|
||||||
return None
|
return (None, None)
|
||||||
|
|
||||||
# Convert source file set to list, sort it and add comment symbols.
|
# Convert source file set to list, sort it and add comment symbols.
|
||||||
# Needed because a set is unsorted and might result in unpredictable.
|
# Needed because a set is unsorted and might result in unpredictable.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue