Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNaif2018 committed Aug 8, 2019
1 parent 59bf41e commit 26bf207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitcart_async/providers/jsonrpcrequests.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async def wrapper(*args: Any, **kwargs: Any) -> Any:
return wrapper

def __del__(self: 'RPCProxy') -> None:
self.loop.call_soon(self._async_del())
self.loop.call_soon(self._async_del()) # type: ignore

async def _async_del(self: 'RPCProxy') -> None:
await self.session.close()

0 comments on commit 26bf207

Please sign in to comment.