Skip to content

Commit

Permalink
Merge pull request #6 from look4regev/patch-1
Browse files Browse the repository at this point in the history
[FIX-DOC] Avoid TypeError when running example
  • Loading branch information
jondot committed Nov 11, 2019
2 parents 776992a + 856d393 commit d806bd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def timeit(ctx, call):

def to_requests(ctx):
get(ctx['url'])
return ctx

fancy_get = wrap(to_requests, middleware=[log, timeit])
fancy_get({'url':'https://google.com'})
Expand Down Expand Up @@ -63,4 +64,4 @@ To all [Contributors](https://github.com/jondot/formation/graphs/contributors) -

# Copyright

Copyright (c) 2018 [@jondot](http://twitter.com/jondot). See [LICENSE](LICENSE.txt) for further details.
Copyright (c) 2018 [@jondot](http://twitter.com/jondot). See [LICENSE](LICENSE.txt) for further details.

0 comments on commit d806bd8

Please sign in to comment.