We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd95793 commit 923bfaeCopy full SHA for 923bfae
aiohttp_session/__init__.py
@@ -134,7 +134,8 @@ async def factory(request, handler):
134
response = exc
135
raise_response = True
136
if not isinstance(response, web.StreamResponse):
137
- raise RuntimeError("Expect response, not {!r}", type(response))
+ raise RuntimeError(
138
+ "Expect response, not {!r}".format(type(response)))
139
if not isinstance(response, web.Response):
140
# likely got websoket or streaming
141
return response
0 commit comments