Skip to content

trailing path separator in root path causes merging process to fail #16

@ochriste

Description

@ochriste

in the .cfg file, if one specify a root path with a trailing path separator ("/" on nix or "" on windows), the merge process fail as +1 in the line
filepath = os.path.join(root, filename)[len(sourcedir)+1:](merge.py, line 326)
only works for root without trailing path separator and the script tries to find some file with the first letter missing.
Im not exactly sure if this is the right way to do it but I have commited a small change in a fork of the project in my account which solve this problem by simply forcing a trailing path separator in all cases and removing the +1

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