Skip to content

Commit

Permalink
Update usage doc to match code (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
sillitoe authored Nov 11, 2021
1 parent 92ffacd commit f278b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/loaders.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ doesn't exist, this loader will be skipped without raising any errors.
from prettyconf.loaders import EnvFile
config.loaders = [EnvFile(file='.env', required=True, var_format=str.upper)]
config.loaders = [EnvFile(filename='.env', var_format=str.upper)]
config('debug') # will look for a `DEBUG` variable
Expand Down

0 comments on commit f278b6a

Please sign in to comment.