diff --git a/modules/infotext_utils.py b/modules/infotext_utils.py index 3d58e2d16..9347ec669 100644 --- a/modules/infotext_utils.py +++ b/modules/infotext_utils.py @@ -420,6 +420,9 @@ def create_override_settings_dict(text_pairs): """ res = {} + + if not text_pairs: + return res params = {} for pair in text_pairs: