Skip to content

Commit

Permalink
Fix inital path for .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingface0 committed Aug 1, 2024
1 parent f1527c9 commit 5f5bcba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runregistry/runregistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
__parse_runs_arg,
)

load_dotenv()
# Look for .env file in the directory of the caller
# first.
load_dotenv(dotenv_path=os.path.join(os.getcwd(), ".env"))


# Silence unverified HTTPS warning:
Expand Down

0 comments on commit 5f5bcba

Please sign in to comment.