From 95e77bd7cb31dc8c7cbee71cec15cea355dc9862 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Mon, 1 Jul 2024 18:29:53 +0200 Subject: [PATCH] Translation updater: Fix error when no translation strings were found --- util/mod_translation_updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.