Skip to content

Commit

Permalink
Loading env in curretn working directory...will it work ?
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianTremblay committed Sep 6, 2021
1 parent 8d7fe7d commit 43af818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BAC0/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#
import os

if os.path.isfile("./.env"):
if os.path.isfile("{}/.env".format(os.getcwd())):
from dotenv import load_dotenv

load_dotenv()
Expand Down

0 comments on commit 43af818

Please sign in to comment.