fix db compatability with ujson

This commit is contained in:
Izalia Mae 2020-03-05 16:37:36 -05:00
parent b0acb14b92
commit 1e884e366e

View file

@ -18,7 +18,7 @@ from .cache import LRUCache
def jsondb():
try:
db = TinyDB(f'{stor_path}/db.json', indent='\t')
db = TinyDB(f'{stor_path}/db.json', indent=4)
except JSONDecodeError as e:
logging.critical(f'Failed to load DB: {e}. Exiting...')