Change database name

This commit is contained in:
Corder Guy 2018-04-19 14:08:15 -05:00
parent 87ead8051a
commit dca83215aa
2 changed files with 2 additions and 2 deletions

View file

@ -7,9 +7,9 @@ import json
import sqlite3
from os import path
DATABASE = '/usr/local/www/mocha-server/mocha.db'
DATABASE = '/usr/local/www/mocha-server/db.sqlite3'
if not path.exists(DATABASE):
DATABASE = 'mocha.db'
DATABASE = 'db.sqlite3'
# TODO: Add ability to store and retrieve avatars (as image files?)