Skip to content

Commit

Permalink
Be Pythonic
Browse files Browse the repository at this point in the history
  • Loading branch information
dhakim87 committed Jun 17, 2020
1 parent 81621bf commit 623b19c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions microsetta_private_api/example/client_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ def _render_with_defaults(template_name, **context):
defaults["endpoint"] = endpoint
defaults["authrocket_url"] = authrocket_url

for key in context:
defaults[key] = context[key]
defaults.update(context)

return render_template(template_name, **defaults)

Expand Down

0 comments on commit 623b19c

Please sign in to comment.