Fixed name of DialingState

This commit is contained in:
klonfish 2015-05-18 15:42:55 +02:00
parent a4aef00e55
commit f72e615435

View file

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