Change database name
This commit is contained in:
parent
87ead8051a
commit
dca83215aa
2 changed files with 2 additions and 2 deletions
|
@ -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?)
|
||||
|
||||
|
|
Reference in a new issue