Another fix
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
59fff5fcae
commit
3b91b069f3
1 changed files with 2 additions and 2 deletions
|
@ -123,6 +123,8 @@ 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"
|
||||||
|
else:
|
||||||
|
print("WARNING: Invalid status '" + status + "' recived from " + name)
|
||||||
|
|
||||||
if os.path.isfile(sfile):
|
if os.path.isfile(sfile):
|
||||||
try:
|
try:
|
||||||
|
@ -168,8 +170,6 @@ try:
|
||||||
state = set_state(state, name, status)
|
state = set_state(state, name, status)
|
||||||
|
|
||||||
save_state(state)
|
save_state(state)
|
||||||
else:
|
|
||||||
print("WARNING: Invalid status '" + status + "' recived from " + name)
|
|
||||||
|
|
||||||
elif action == "get":
|
elif action == "get":
|
||||||
tile = ""
|
tile = ""
|
||||||
|
|
Loading…
Reference in a new issue