Skip to content

Commit ff68ca5

Browse files
committed
fix: .env load from current path
1 parent 6556ac7 commit ff68ca5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
from dotenv import find_dotenv, load_dotenv
22

3-
load_dotenv(find_dotenv())
3+
load_dotenv(find_dotenv(
4+
# Use the current working directory from where the command is run
5+
usecwd=True,
6+
))

0 commit comments

Comments
 (0)