Leave TODO about flags
This commit is contained in:
parent
e7e73977bd
commit
d7ab15a885
|
@ -18,6 +18,7 @@ setup_done = False
|
|||
|
||||
def setup():
|
||||
# Load dotenv file if possible.
|
||||
# TODO: change all scripts to use named flags/params
|
||||
if len(sys.argv) > 1:
|
||||
env_path = Path(sys.argv[1])
|
||||
load_dotenv(dotenv_path=env_path, override=True)
|
||||
|
|
Reference in New Issue