fix(env): ensure the .env is loaded

This commit is contained in:
2025-10-26 14:55:43 +03:00
parent ce48859079
commit 2b7fecb248
5 changed files with 14 additions and 9 deletions
+4 -1
View File
@@ -1,9 +1,12 @@
from sys import exit
from flask import Flask
from api.auth.loginapi import loginBP
from utils.loadDotEnv import initializeENV
from utils.PostgressConnect import PSQLConnect, PSQLCursor
state = initializeENV()
if not initializeENV():
exit(-1)
#conn = PSQLConnect()
#cur = PSQLCursor(conn)