Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 13, 2023
1 parent 55d6ed9 commit 960b144
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vdirsyncer/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,11 @@ async def request(

logger.debug(response.status)
logger.debug(response.headers)
if (response.status >= 400 and hasattr(response, 'content')
and hasattr(response.content, '_buffer')):
if (
response.status >= 400
and hasattr(response, "content")
and hasattr(response.content, "_buffer")
):
logger.debug(response.content._buffer)

if response.status == 412:
Expand Down

0 comments on commit 960b144

Please sign in to comment.