Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Error in mb-util #111

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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