Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix example in readme
  • Loading branch information
rasa committed Jun 14, 2017
1 parent c84ccdd commit 5ab8321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -119,7 +119,7 @@ a watcher for reloading, and read some config values.
# Now let's override it with some environment settings
staticconf.DictConfiguration(
(k[5:].lower(), v) for k, v in os.environ if k.startswith('MYAPP_'))
(k[6:].lower(), v) for k, v in os.environ.items() if k.startswith('MYAPP_'))
def build_watcher(filename):
Expand Down

0 comments on commit 5ab8321

Please sign in to comment.