Skip to content

Commit

Permalink
Fix stream parse example in README.md
Browse files Browse the repository at this point in the history
In the existing example, the name "stream" is undefined, causing a
NameError.
  • Loading branch information
David Wesby authored and bbc2 committed Apr 13, 2021
1 parent cfca79a commit abde8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ from io import StringIO
from dotenv import load_dotenv

config = StringIO("USER=foo\nEMAIL=foo@example.org")
load_dotenv(stream=stream)
load_dotenv(stream=config)
```

### Load .env files in IPython
Expand Down

0 comments on commit abde8e5

Please sign in to comment.