diff --git a/worldbuild-manager.py b/worldbuild-manager.py index 1e2b2ed..f655bec 100755 --- a/worldbuild-manager.py +++ b/worldbuild-manager.py @@ -173,8 +173,10 @@ try: # Build poles first if not "n-pole" in state or ("n-pole" in state and state["n-pole"]["status"] == get): tile = "n-pole" + state["n-pole"]["status"] = "started" elif not "s-pole" in state or ("s-pole" in state and state["s-pole"]["status"] == get): tile = "s-pole" + state["s-pole"]["status"] = "started" else: ii = -8 @@ -212,6 +214,7 @@ try: name_minor = ew + norm(j, 3) + ns + norm(iii, 2) if not name in state or (not name_minor in state[name] or (name_minor in state[name] and (state[name][name_minor]["status"] == get or state[name][name_minor]["status"] == "pending"))): tile = name_minor + state[name][name_minor]["status"] = "started" break iii += ns_step j += ew_step diff --git a/worldbuild-worker.py b/worldbuild-worker.py index 8820cb8..e6b9264 100755 --- a/worldbuild-worker.py +++ b/worldbuild-worker.py @@ -123,8 +123,6 @@ while running: name = get_job(action) try: - send_status(name, "started") - run("mkdir -p projects/worldbuild-" + name, shell=True) run("cp projects/worldbuild/params.ini projects/worldbuild-" + name + "/", shell=True)