mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-05 08:58:34 +00:00
save_config truncated config.json in place on crash mid-write. Route through _write_text_atomic like the pairing store so a failed write leaves the prior file intact.