This commit is contained in:
lllyasviel
2023-11-15 01:22:37 -08:00
parent 6769ab0f9b
commit 861c8d38df
6 changed files with 27 additions and 32 deletions
+2 -1
View File
@@ -267,7 +267,8 @@ with open(config_example_path, "w", encoding="utf-8") as json_file:
json_file.write(f'You can modify your "{cpa}" using the below keys, formats, and examples.\n'
f'Do not modify this file. Modifications in this file will not take effect.\n'
f'This file is a tutorial and example. Please edit "{cpa}" to really change any settings.\n'
f'Remember to split the paths with "\\\\" rather than "\\".\n\n\n')
+ 'Remember to split the paths with "\\\\" rather than "\\", '
'and there is no "," before the last "}". \n\n\n')
json.dump({k: config_dict[k] for k in visited_keys}, json_file, indent=4)
+1 -1
View File
@@ -27,7 +27,7 @@ def try_load_sorted_styles(style_names, default_selected):
unselected = [y for y in all_styles if y not in default_selected]
all_styles = default_selected + unselected
return all_styles
return
def sort_styles(selected):