Skip to content

Commit abde8e5

Browse files
David Wesbybbc2
David Wesby
authored andcommitted
Fix stream parse example in README.md
In the existing example, the name "stream" is undefined, causing a NameError.
1 parent cfca79a commit abde8e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ from io import StringIO
110110
from dotenv import load_dotenv
111111

112112
config = StringIO("USER=foo\n[email protected]")
113-
load_dotenv(stream=stream)
113+
load_dotenv(stream=config)
114114
```
115115

116116
### Load .env files in IPython

0 commit comments

Comments
 (0)