removed dev env vars
This commit is contained in:
@@ -4,18 +4,14 @@ from git import Repo
|
||||
import logging
|
||||
import shutil
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
from configparser import ConfigParser
|
||||
from runner_script import RunnerScript
|
||||
|
||||
|
||||
# load default values
|
||||
load_dotenv('dev.env')
|
||||
config = ConfigParser()
|
||||
config.read(Path(__file__).parent / 'defaults.ini')
|
||||
REPO_DIR = config.get('main', 'repo_dir')
|
||||
if 'ENV' in os.environ and os.getenv('ENV') == 'DEV':
|
||||
REPO_DIR = os.getenv('REPO_DIR', default=REPO_DIR)
|
||||
|
||||
|
||||
def clone_repository(
|
||||
|
||||
Reference in New Issue
Block a user