forked from extern/easydiffusion
Silly error, don't delete a key if it doesn't exist
This commit is contained in:
parent
ade0912ba1
commit
721ab8a0c7
@ -183,6 +183,7 @@ def setConfig(config):
|
||||
config = commented_config
|
||||
yaml.indent(mapping=2, sequence=4, offset=2)
|
||||
|
||||
if "config_on_startup" in config:
|
||||
del config["config_on_startup"]
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user