replaces state manager error with info log when no filename was provided

This commit is contained in:
Mose Müller 2023-11-28 16:39:27 +01:00
parent 09a55f50bd
commit 5a2371353a

View File

@ -126,7 +126,7 @@ class StateManager:
with open(self.filename, "w") as f:
json.dump(self.cache, f, indent=4)
else:
logger.error(
logger.info(
"State manager was not initialised with a filename. Skipping "
"'save_state'..."
)