Skip to content
Snippets Groups Projects
Commit 78482964 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Ping: Fix mypy error

parent a7f98f7c
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@
from typing import Any
from typing import Tuple
from typing import Generator
import time
......@@ -42,7 +43,7 @@ def __init__(self, con: ConnectionT) -> None:
self.handlers = []
@as_task
def send_ping(self, contact: ContactsT) -> None:
def send_ping(self, contact: ContactsT) -> Generator:
_task = yield
if not app.account_is_available(self._account):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment