From 79e620ef428629a65b9717092cf4109d158fb168 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Fri, 25 Aug 2023 21:12:01 +0200 Subject: [PATCH] [fix] Conflict type file and settings bind mode --- helpers/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/helpers/config b/helpers/config index 6c6285cf6..a44582acf 100644 --- a/helpers/config +++ b/helpers/config @@ -153,13 +153,16 @@ for panel_name, panel in loaded_toml.items(): if bind_section: bind = bind_section else: - bind = 'settings' if param.get('type', 'string') != 'file' else 'null' + bind = 'settings' elif bind[-1] == ":" and bind_section and ":" in bind_section: regex, bind_file = bind_section.split(":") if ">" in bind: bind = bind + bind_file else: bind = regex + bind + bind_file + if bind == "settings" and param.get('type', 'string') == 'file': + bind = 'null' + print(';'.join([ name, param.get('type', 'string'),