mirror of
https://github.com/minetest/minetest.git
synced 2025-02-18 10:53:47 +01:00
Translation updater: Fix error when no translation strings were found
This commit is contained in:
@ -458,7 +458,7 @@ def generate_template(folder, mod_name):
|
||||
dOut[s] = sources
|
||||
|
||||
if len(dOut) == 0:
|
||||
return None
|
||||
return (None, None)
|
||||
|
||||
# Convert source file set to list, sort it and add comment symbols.
|
||||
# Needed because a set is unsorted and might result in unpredictable.
|
||||
|
Reference in New Issue
Block a user