retrieve_from_database - Path replacement not working as expected on Windows
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 193
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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/','')`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.