Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Broken paths with subdirectories on Windows #131

@HiPhish

Description

@HiPhish

This library makes the assumption that the file path separator is a forward slash, but on Windows the file path separator is a backslash. I was able to hack together a fix by replacing the SLASH variable (utils.py) with os.sep and use a backslash in the string interpolation of the _get_component_path method (catalog.py). This is not quite correct though, the SLASH variable is used outside file paths as well. A proper fix would be to completely decouple the name of a component from its file path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions