Browse Source

abort the timeout when a nummernschalter_active event occurs in DialingState

pull/1/head
Fr3deric 9 years ago
parent
commit
40eef9aa66
  1. 1
      fetapdtest.py

1
fetapdtest.py

@ -188,6 +188,7 @@ class DialingState(AbstractState): @@ -188,6 +188,7 @@ class DialingState(AbstractState):
return IdleState
def on_nummernschalter_active(self):
self._controller.abort_timeout()
if self.__dial_tone:
self._controller.get_phone().stop_playing()

Loading…
Cancel
Save