fix: support special character

This commit is contained in:
starnakin 2024-08-05 21:28:24 +02:00
parent 83cb246073
commit 2018c7e3a2

View File

@ -2,7 +2,7 @@ import json
from Book import Book from Book import Book
# Opening JSON file # Opening JSON file
f = open('constructor.json') f = open('constructor.json', encoding='utf-8')
data = json.load(f) data = json.load(f)