Skip to content

Save Settings Fix - #77

Open
UsainBoat wants to merge 1 commit into
Rose22:devfrom
UsainBoat:fix/webui-settings-reload-self-name
Open

Save Settings Fix#77
UsainBoat wants to merge 1 commit into
Rose22:devfrom
UsainBoat:fix/webui-settings-reload-self-name

Conversation

@UsainBoat

@UsainBoat UsainBoat commented Aug 13, 2026

Copy link
Copy Markdown

Messing around with a local fork, I discovered this bug in the settings save function. A 'NameError: name 'self' is not defined' is raised inside the FastAPI route in channels/webui.py. The crash occurs after core.config.config.save() but before the module reload loop, so every settings save writes the client's full config snapshot to disk and then dies before reloading any modules whose settings changed.

AI attestation: I found this bug with the help of AI but it was confirmed and fixed by hand.

@UsainBoat
UsainBoat marked this pull request as ready for review August 13, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant