diff --git a/worldbuild-manager.py b/worldbuild-manager.py index 357ca25..e726244 100755 --- a/worldbuild-manager.py +++ b/worldbuild-manager.py @@ -123,6 +123,8 @@ def set_state(state, name, status): state[name_major]["status"] = "skip" else: state[name_major]["status"] = "pending" + else: + print("WARNING: Invalid status '" + status + "' recived from " + name) if os.path.isfile(sfile): try: @@ -168,8 +170,6 @@ try: state = set_state(state, name, status) save_state(state) - else: - print("WARNING: Invalid status '" + status + "' recived from " + name) elif action == "get": tile = ""