Squelch warning if no config restore

This commit is contained in:
space-nuko 2023-03-29 19:22:45 -05:00
parent 1c0544abdb
commit 563d048780

View File

@ -116,7 +116,7 @@ def initialize():
config_state = json.load(f)
config_states.restore_extension_config(config_state)
startup_timer.record("restore extension config")
else:
elif config_state_file:
print(f"!!! Config state backup not found: {config_state_file}")
if cmd_opts.ui_debug_mode:
@ -325,7 +325,7 @@ def webui():
config_state = json.load(f)
config_states.restore_extension_config(config_state)
startup_timer.record("restore extension config")
else:
elif config_state_file:
print(f"!!! Config state backup not found: {config_state_file}")
localization.list_localizations(cmd_opts.localizations_dir)