Skip to content

Commit 12870ca

Browse files
committed
Fix the reference to __file__
1 parent 1d1befc commit 12870ca

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ import dotenv
1818
dotenv.read_dotenv()
1919
```
2020

21-
You have to pass in `__file__` so that we know where to find the .env file.
22-
You can also pass an explicit path to the .env file, or to the directory
23-
where it lives. It's smart, it'll figure it out.
21+
You can also pass `read_dotenv()` an explicit path to the .env file, or to the directory where it lives. It's smart, it'll figure it out.
2422

2523
That's it. Now go 12 factor the crap out of something.

0 commit comments

Comments
 (0)