From 333075e726e8216ed35c6dd17a479c44fb4d8691 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 4 Jul 2023 11:38:35 -0300 Subject: [PATCH] Fix #3003 --- modules/ui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ui.py b/modules/ui.py index c9f0018f..f019bc87 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -143,6 +143,7 @@ def gather_interface_values(*args): if not shared.args.multi_user: shared.persistent_interface_state = output + Path('logs').mkdir(exist_ok=True) with open(Path(f'logs/session_{shared.get_mode()}_autosave.json'), 'w') as f: f.write(json.dumps(output, indent=4))