Commit 78482964 authored by Philipp Hörist's avatar Philipp Hörist

Ping: Fix mypy error

parent a7f98f7c
Pipeline #6686 passed with stages
in 4 minutes and 22 seconds
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment