Paranoia: save before exit

This commit is contained in:
Reid 'arrdem' McKenzie 2022-11-26 23:08:25 -07:00
parent 8a1c03dcc3
commit 26f871ae60

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