mbutil icon indicating copy to clipboard operation
mbutil copied to clipboard

Error in mb-util

Open mrg218 opened this issue 6 years ago • 0 comments

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?

mrg218 avatar Sep 04 '19 09:09 mrg218