Skip to content

retrieve_from_database - Path replacement not working as expected on Windows #12

Open
@mike-frank

Description

archive = archive.replace('src/weboptout/', '')

Took some digging but I found that the data/tos.jsonl file wasn't being loaded on my Windows set up, as the path returned from the previous line is separated with '\' not '/'

I managed to get it to load by adding archive.replace('\\','/') before running archive.replace('src/weboptout/','')

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