Skip to content

Absolute path check will fail if the input path includes double slashes (empty components, '//'), which can happen in scripts. #27

@will-ca

Description

@will-ca

# Do we have an absolute path to a directory?
absmodel = os.path.abspath(model)
if model.startswith(absmodel):

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