What's next?
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
8753296ba7
commit
577fb76a2d
1 changed files with 1 additions and 2 deletions
|
@ -123,6 +123,7 @@ def set_state(state, name, status):
|
||||||
state[name_major]["status"] = "skip"
|
state[name_major]["status"] = "skip"
|
||||||
else:
|
else:
|
||||||
state[name_major]["status"] = "pending"
|
state[name_major]["status"] = "pending"
|
||||||
|
save_state(state)
|
||||||
else:
|
else:
|
||||||
print("WARNING: Invalid status '" + status + "' recived from " + name)
|
print("WARNING: Invalid status '" + status + "' recived from " + name)
|
||||||
return state
|
return state
|
||||||
|
@ -170,8 +171,6 @@ try:
|
||||||
if action == "set":
|
if action == "set":
|
||||||
state = set_state(state, name, status)
|
state = set_state(state, name, status)
|
||||||
|
|
||||||
save_state(state)
|
|
||||||
|
|
||||||
elif action == "get":
|
elif action == "get":
|
||||||
tile = ""
|
tile = ""
|
||||||
# Build poles first
|
# Build poles first
|
||||||
|
|
Loading…
Add table
Reference in a new issue