mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-01-05 02:40:21 +01:00
load environment asap so that other files have it available
This commit is contained in:
@@ -3,6 +3,7 @@ from __future__ import print_function, unicode_literals
|
||||
|
||||
import sys
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
from termcolor import colored
|
||||
from helpers.Project import Project
|
||||
from utils.arguments import get_arguments
|
||||
@@ -10,8 +11,6 @@ from utils.exit import exit_gpt_pilot
|
||||
from logger.logger import logger
|
||||
from database.database import database_exists, create_database, tables_exist, create_tables
|
||||
|
||||
load_dotenv()
|
||||
|
||||
|
||||
def init():
|
||||
# Check if the "euclid" database exists, if not, create it
|
||||
|
||||
Reference in New Issue
Block a user