mirror of
https://github.com/drmext/MonkeyBusiness.git
synced 2024-11-14 10:37:38 +01:00
Fix db encoding for non-ascii
This commit is contained in:
parent
c26ad10d90
commit
0b96ddede0
@ -1,6 +1,6 @@
|
|||||||
from tinydb import TinyDB
|
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():
|
def get_db():
|
||||||
|
Loading…
Reference in New Issue
Block a user