mate.db wird erstellt, wenn nicht existent

This commit is contained in:
2000-Trek 2023-09-20 19:09:16 +02:00
parent bf44885ec9
commit 83041ef820
5 changed files with 6 additions and 13 deletions

View file

@ -7,7 +7,7 @@ from .db import get_db
#flask_config
DATABASE = '/home/matekasse/Website/mate.db'
DATABASE = './Website/mate.db'
def create_logs(app):
now = datetime.datetime.now().strftime('%d-%m-%Y-%H-%M-%S')