mirror of
https://github.com/drmext/MonkeyBusiness.git
synced 2026-09-11 10:27:35 -05:00
Fix db encoding for non-ascii
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user