Skip to content
This repository has been archived by the owner on Sep 7, 2018. It is now read-only.

Commit

Permalink
fixed bug from commit before -.-
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldaeschle committed Feb 22, 2018
1 parent ae9e400 commit 5e5f649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swapy/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def dispatch(endpoint, args):
res = response_from(f(req))

try:
iter(res)
iter(res.content)
except TypeError:
raise InternalServerError('Result {} of \'{}\' is not a valid response'
.format(res.content, req.path))
Expand Down

0 comments on commit 5e5f649

Please sign in to comment.