Paranoia: save before exit

This commit is contained in:
Reid 'arrdem' McKenzie 2022-11-26 23:08:25 -07:00
parent 7b65a10bd8
commit 1540ff1e2b

View file

@ -92,6 +92,10 @@ class Application(web.Application):
)
asyncio.run(self.handle_run())
# Save off config before exit
self.config.save()
self.database.save()
def stop(self, *_):
self["running"] = False