mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-07 05:50:41 +02:00
replaces state manager error with info log when no filename was provided
This commit is contained in:
parent
09a55f50bd
commit
5a2371353a
@ -126,7 +126,7 @@ class StateManager:
|
|||||||
with open(self.filename, "w") as f:
|
with open(self.filename, "w") as f:
|
||||||
json.dump(self.cache, f, indent=4)
|
json.dump(self.cache, f, indent=4)
|
||||||
else:
|
else:
|
||||||
logger.error(
|
logger.info(
|
||||||
"State manager was not initialised with a filename. Skipping "
|
"State manager was not initialised with a filename. Skipping "
|
||||||
"'save_state'..."
|
"'save_state'..."
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user