MonkeyBusiness/core_database.py
2023-05-20 19:54:32 +00:00

8 lines
128 B
Python

from tinydb import TinyDB
db = TinyDB("db.json", indent=2, encoding="utf-8", ensure_ascii=False)
def get_db():
return db