Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jpf authored and bbc2 committed Dec 21, 2019
1 parent 3576225 commit af192b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ SECRET_KEY = os.getenv("EMAIL")
DATABASE_PASSWORD = os.getenv("DATABASE_PASSWORD")
```

`load_dotenv` do not override existing System environment variables. To
`load_dotenv` does not override existing System environment variables. To
override, pass `override=True` to `load_dotenv()`.

`load_dotenv` also accepts `encoding` parameter to open the `.env` file. The default encoding is platform dependent (whatever `locale.getpreferredencoding()` returns), but any encoding supported by Python can be used. See the [codecs](https://docs.python.org/3/library/codecs.html#standard-encodings) module for the list of supported encodings.
Expand Down Expand Up @@ -126,7 +126,7 @@ before passing.
'EGGS'
```

The returned value is dictionary with key-value pair.
The returned value is dictionary with key-value pairs.

`dotenv_values` could be useful if you need to *consume* the envfile but
not *apply* it directly into the system environment.
Expand Down

0 comments on commit af192b7

Please sign in to comment.