Fix reddit crawling file encoding

This commit is contained in:
Nicolas Abram 2022-04-05 18:19:49 -03:00 committed by GitHub
parent eb85693fa0
commit 2f45690040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@
failcount = 0
successcount = 0
jsonfile = open("../web/atlas.json", "r")
jsonfile = open("../web/atlas.json", "r", encoding='utf-8')
existing = json.load(jsonfile)
existing_ids = []