Skip to content

Commit

Permalink
Silence MyPy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
christiansandberg committed Mar 6, 2022
1 parent c07e746 commit 25ba53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reactivex/scheduler/mainloop/wxscheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 25ba53f

Please sign in to comment.