diff --git a/util/mod_translation_updater.py b/util/mod_translation_updater.py index d23b96e59..1cc59825d 100755 --- a/util/mod_translation_updater.py +++ b/util/mod_translation_updater.py @@ -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.