More obvious number notation

This commit is contained in:
Emi Simpson 2023-02-12 11:50:11 -05:00
parent 5f072dfd92
commit 1e420e83e9
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847

View file

@ -19,7 +19,7 @@ def main(terrain_path: str, elevation_path: str, checkpoints_path: str, image_ou
checkpoints checkpoints
) )
path, cost = unwrap_opt(maybe_path) path, cost = unwrap_opt(maybe_path)
print(f'Path found! Estimated time: {cost//60000000} minutes') print(f'Path found! Estimated time: {cost//60_000_000} minutes')
save_map(image_output, world, path) save_map(image_output, world, path)
if __name__ == '__main__': if __name__ == '__main__':