retrieve_from_database - Path replacement not working as expected on Windows
Aberta
- Linguagem predominante
- Python
- Estrelas
- 193
- Forks
- 1
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
https://github.com/alexjc/weboptout/blob/186cd73d2ac21398bd352da9453f544ccd230ce8/src/weboptout/utils.py#L96
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/','')`
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.