|
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/','')