mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-05-02 07:14:27 +02:00
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…
Reference in New Issue
Block a user