Browse Source

Fixed name of DialingState

master
klonfish 10 years ago
parent
commit
f72e615435
  1. 4
      statemachinetest.py

4
statemachinetest.py

@ -55,7 +55,7 @@ class IdleState(AbstractState): @@ -55,7 +55,7 @@ class IdleState(AbstractState):
def on_gabelschalter_up(self):
print('gabel up')
return DailingState
return DialingState
def on_gabelschalter_down(self):
pass
@ -117,7 +117,7 @@ class ConnectingState(AbstractState): @@ -117,7 +117,7 @@ class ConnectingState(AbstractState):
def on_call_ringing(self):
return WecktState
class DailingState(AbstractState):
class DialingState(AbstractState):
def on_gabelschalter_down(self):
return IdleState

Loading…
Cancel
Save