Skip to content

Commit

Permalink
fix: loading env var
Browse files Browse the repository at this point in the history
  • Loading branch information
01Joseph-Hwang10 committed May 9, 2024
1 parent 0654c2b commit 930179b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ldm/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import os
from os import getcwd
from os.path import join
import click
from dotenv import load_dotenv
from .commands import InstallCommand
Expand All @@ -7,7 +9,7 @@

@click.group()
def cli():
load_dotenv()
load_dotenv(dotenv_path=join(getcwd(), ".env"))


@cli.command("install")
Expand Down

0 comments on commit 930179b

Please sign in to comment.