Another fix

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2020-01-18 06:01:39 +00:00
parent 59fff5fcae
commit 3b91b069f3

View file

@ -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 = ""