mbutil
mbutil copied to clipboard
Error in mb-util
I am pretty sure that the line of code in mb-util that is now
if os.path.isdir(args[0]) and not os.path.isfile(args[0]):
should be:
if os.path.isdir(args[0]) and not os.path.isfile(args[1]):
Weird that no one has noticed this while using. It now checks if a directory is not a file, while it should check if the second argument is not an existing mbtiles file.
What is the reason that updates of mbtiles file is now allowed?