Skip to content

Error in mb-util #111

@mrg218

Description

@mrg218

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions