fix(encoding): utf8 encoding support
Some checks failed
Docker Image CI / build (push) Has been cancelled

Signed-off-by: paprykdev <58005447+paprykdev@users.noreply.github.com>
This commit is contained in:
patilk 2024-12-19 12:51:14 +01:00
parent 388964d497
commit 1e4449dccf
Signed by: s500042
GPG Key ID: 1921AD722E7392EE

View File

@ -110,8 +110,8 @@ class MonetScraper:
os.mkdir("dist")
except FileExistsError:
pass
open("dist/data.json",
"w").write(json.dumps([d for d in self.data], indent=4))
open("dist/data.json", "w", encoding="utf8").write(
json.dumps([d for d in self.data], indent=4, ensure_ascii=False))
async def get_provenance(self):
provenances = None