Skip to content

Commit

Permalink
Drop loop kwarg from async_timeout.timeout
Browse files Browse the repository at this point in the history
- async_timeout 4.0.0 drops the loop= kwarg and will fail if its passed
  • Loading branch information
bdraco authored and Johan Bloemberg committed Jan 12, 2022
1 parent 182e10e commit bb99d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rflinkproxy/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def connect(self):
)

try:
with async_timeout.timeout(CONNECTION_TIMEOUT, loop=self.loop):
with async_timeout.timeout(CONNECTION_TIMEOUT):
self.transport, self.protocol = yield from connection

except (
Expand Down

0 comments on commit bb99d39

Please sign in to comment.