diff --git a/scripts/build-chunk.py b/scripts/build-chunk.py index b540af6..569a138 100755 --- a/scripts/build-chunk.py +++ b/scripts/build-chunk.py @@ -44,6 +44,7 @@ while i < argc: print(" --host Logger host") print(" --port Logger port") print(" -h, --help Shows this help and exit") + i += 1 def send_status(name, status): try: diff --git a/scripts/worldbuild.py b/scripts/worldbuild.py index 50fbe12..4305890 100755 --- a/scripts/worldbuild.py +++ b/scripts/worldbuild.py @@ -337,9 +337,10 @@ elif db_strategy == "chunk": ii += 1 db_prefix = "-p " + db_prefix - os.system("echo '" + tile_list + "' | parallel --eta -j " + str(threads) + " ./scripts/build-chunck.py {} " + str(db_prefix)) + os.system("echo '" + tile_list + "' | parallel --eta -j " + str(threads) + " ./scripts/build-chunk.py {} " + str(db_prefix)) elif db_startegy == "mono": - pass + print("ERROR: NOT YET IMPLEMENTED") + sys.exit(1) print_build_time(start_time, time.time())