updated the db location because of docker
This commit is contained in:
@@ -3,7 +3,7 @@ from flask import Flask, request
|
||||
from datetime import datetime
|
||||
|
||||
app = Flask(__name__)
|
||||
DB_FILE = "cleaning_logs.db"
|
||||
DB_FILE = "/app/data/cleaning_logs.db"
|
||||
|
||||
def init_db():
|
||||
with sqlite3.connect(DB_FILE) as conn:
|
||||
|
||||
Reference in New Issue
Block a user