mirror of
https://github.com/drmext/MonkeyBusiness.git
synced 2024-12-18 02:16:02 +01:00
8 lines
128 B
Python
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
|