update send to params

This commit is contained in:
Vladimir Mandic
2023-05-11 11:06:48 -04:00
parent 05656a54fe
commit 44be01531d
+1 -1
View File
@@ -345,7 +345,7 @@ def create_override_settings_dict(text_pairs):
def connect_paste(button, local_paste_fields, input_comp, override_settings_component, tabname):
def paste_func(prompt):
if 'Negative prompt' not in prompt and 'Steps' not in prompt:
if prompt is not None and 'Negative prompt' not in prompt and 'Steps' not in prompt:
prompt = None
if not prompt and not shared.cmd_opts.hide_ui_dir_config:
filename = os.path.join(data_path, "params.txt")