feat: migrate state path to new schema

This commit is contained in:
Ruben Fiszel
2023-08-11 18:54:40 +02:00
parent 38421684ed
commit 9970f6daeb
22 changed files with 116 additions and 24 deletions
+1 -1
View File
@@ -334,7 +334,7 @@ def set_variable(path: str, value: str) -> None:
def get_state_path() -> str:
state_path = os.environ.get("WM_STATE_PATH")
state_path = os.environ.get("WM_STATE_PATH_NEW")
if state_path is None:
raise Exception("State path not found")
return state_path