From 25ba53f61fb7744d1327322c28af505805ff3ca6 Mon Sep 17 00:00:00 2001 From: Christian Sandberg Date: Sun, 6 Mar 2022 20:51:08 +0100 Subject: [PATCH] Silence MyPy warnings --- reactivex/scheduler/mainloop/wxscheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactivex/scheduler/mainloop/wxscheduler.py b/reactivex/scheduler/mainloop/wxscheduler.py index a63bf2e52..2ff631976 100644 --- a/reactivex/scheduler/mainloop/wxscheduler.py +++ b/reactivex/scheduler/mainloop/wxscheduler.py @@ -77,9 +77,9 @@ def interval() -> None: timer = self._timer_class(interval) # A timer can only be used from the main thread if self._wx.IsMainThread(): - timer.Start(msecs, oneShot=not periodic) + timer.Start(msecs, oneShot=not periodic) # type: ignore else: - self._wx.CallAfter(timer.Start, msecs, oneShot=not periodic) + self._wx.CallAfter(timer.Start, msecs, oneShot=not periodic) # type: ignore self._timers.add(timer) def dispose() -> None: