Skip to content

Commit

Permalink
Merge pull request #93 from rasa/patch-1
Browse files Browse the repository at this point in the history
Fix example in readme
  • Loading branch information
dnephin committed Oct 7, 2017
2 parents ec0b2c0 + 5ab8321 commit c1d5688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
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 c1d5688

Please sign in to comment.