Haidra-Org/AI-Horde-Worker

Can't save new config

Closed this issue · 1 comments

I pulled master and I copied the bridgeData_template.yml to bridgeData.yml and hit save, the first time it works. Then if you immediately hit the save button again, it throws errors on each of these keys in the code. Seems to have trouble loading / saving these config settings.

            elif cfgkey == "dreamer_name" and config[cfgkey] == "An Awesome Dreamer":
                del config["dreamer_name"]
                donekeys.append(key)
            elif cfgkey == "scribe_name" and config[cfgkey] == "An Awesome Scribe":
                del config["scribe_name"]
                donekeys.append(key)
            elif cfgkey == "alchemist_name" and config[cfgkey] == "An Awesome Alchemist":
                del config["alchemist_name"]
                donekeys.append(key)

This exception was patched