mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Drop syntax that won't run on Python 3.7
This commit is contained in:
parent
7a7deffa2c
commit
8830307e38
1 changed files with 2 additions and 2 deletions
|
|
@ -140,8 +140,8 @@ async def request(
|
|||
|
||||
kwargs.pop("cert", None) # TODO XXX FIXME!
|
||||
|
||||
# Hacks to translate API
|
||||
if auth := kwargs.pop("auth", None):
|
||||
auth = kwargs.pop("auth", None)
|
||||
if auth:
|
||||
kwargs["auth"] = aiohttp.BasicAuth(*auth)
|
||||
|
||||
r = func(method, url, ssl=ssl, **kwargs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue