diff --git a/framework/internal/utils.py b/framework/internal/utils.py index 00cd0b2..af218e7 100644 --- a/framework/internal/utils.py +++ b/framework/internal/utils.py @@ -32,6 +32,9 @@ def read_dotenv(file='.env') -> dict[str, str]: This function reads a .env file and returns a dictionary of the key-value """ + if not os.path.exists(file): + return {} + dotenv = {} with open(file) as f: for line in f: