fixed code import bug
This commit is contained in:
+2
-2
@@ -4,12 +4,12 @@ import logging
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
from app import app
|
||||
from dotenv import load_dotenv
|
||||
|
||||
from .app import app
|
||||
|
||||
# prepare optional local setup
|
||||
env_path = Path(__file__).parent.parent.parent / 'local.env'
|
||||
assert env_path.exists()
|
||||
load_dotenv(env_path)
|
||||
|
||||
# ensure env vars set
|
||||
|
||||
Reference in New Issue
Block a user