Fix db encoding for non-ascii

This commit is contained in:
drmext 2023-05-20 19:54:32 +00:00
parent c26ad10d90
commit 0b96ddede0
No known key found for this signature in database
GPG Key ID: F1ED48FFE79A6961

View File

@ -1,6 +1,6 @@
from tinydb import TinyDB
db = TinyDB("db.json", indent=4)
db = TinyDB("db.json", indent=2, encoding="utf-8", ensure_ascii=False)
def get_db():