Skip to content

finding unused dst dirs fails because of trailing slash "/" mismatch #919

@FlyWieEinAirplane

Description

@FlyWieEinAirplane

unused_dirs = [d for d in dst_dirs if d not in dir2ph.keys()]

var d will be in the format of "/mnt/destDir"
while each key in dir2ph.keys() will be in format "/mnt/destDir/"
Because of this, all directories will be in the ununsed_dirs array.

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