Skip to content

Commit 960b144

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 55d6ed9 commit 960b144

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

vdirsyncer/http.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,11 @@ async def request(
143143

144144
logger.debug(response.status)
145145
logger.debug(response.headers)
146-
if (response.status >= 400 and hasattr(response, 'content')
147-
and hasattr(response.content, '_buffer')):
146+
if (
147+
response.status >= 400
148+
and hasattr(response, "content")
149+
and hasattr(response.content, "_buffer")
150+
):
148151
logger.debug(response.content._buffer)
149152

150153
if response.status == 412:

0 commit comments

Comments
 (0)