Skip to content

Commit c0317a0

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

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
@@ -147,8 +147,11 @@ async def request(
147147

148148
logger.debug(response.status)
149149
logger.debug(response.headers)
150-
if (response.status >= 400 and hasattr(response, 'content')
151-
and hasattr(response.content, '_buffer')):
150+
if (
151+
response.status >= 400
152+
and hasattr(response, "content")
153+
and hasattr(response.content, "_buffer")
154+
):
152155
logger.debug(response.content._buffer)
153156

154157
if response.status == 412:

0 commit comments

Comments
 (0)