From 83041ef820de029ef583de4bd3284236eab32f0b Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Wed, 20 Sep 2023 19:09:16 +0200 Subject: [PATCH] mate.db wird erstellt, wenn nicht existent --- Website/__init__.py | 2 +- Website/__pycache__/__init__.cpython-311.pyc | Bin 26635 -> 26986 bytes Website/__pycache__/db.cpython-311.pyc | Bin 2062 -> 2148 bytes Website/db.py | 17 +++++------------ .../2029240f6d1128be89ddc32729463129 | Bin 9 -> 9 bytes 5 files changed, 6 insertions(+), 13 deletions(-) diff --git a/Website/__init__.py b/Website/__init__.py index d2ea280..e4ec932 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -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') diff --git a/Website/__pycache__/__init__.cpython-311.pyc b/Website/__pycache__/__init__.cpython-311.pyc index 456d69343959951c066ed99a4b690f40dd166fda..f876a860c32fcb42faed9f5afd319a28ce0b6977 100644 GIT binary patch delta 3569 zcmdUye{56N702Iw&(DeD_($R-c7BjJaRN9A4u<>!0>nun{75NjA+uV^^ZyGB)VS@b*ZMQ8$0JY zAx@fB+Mm19`@HLO&wcOS^S$TZ=S$P}r1_Q&~P_*i5x7FXLEbW`%<{C|sOHoILb7aYz<6*jvQYbD)`s@+Tz zY+x($Tk`SY4!k~kUK9if__o92%Iorv6Otmq+f_Ai*m(~gI_qR>!l2lo&b9uqL6M4S zNP79Epg0mnWC6A>wikXYZybI03-P=;XS^vzigU_!6W{d~Ug@%5@D}e$iG#|&%HfsW zWyzbaHKMpK2cBMETiBMK9=DnB+% zM>hq-!;0!P!K>w7ksII#<)fw$J|y;l;XJ3ii=nIH!Gx_{w140#zZ$<0xHk56+clde zlL>=^oXr-B%C0_jBkx+*mEh|^&9u;@Wec^wTcIiEB4dtlnDw#gzR=8}qnbIxJ68y@ zFq;l5Ge=a-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