fix: add calls to self
This commit is contained in:
@@ -36,7 +36,7 @@ class CallManager:
|
||||
response = s.recv(1024)
|
||||
print("Call notice sent", "response=", response.decode())
|
||||
s.close()
|
||||
undeaf_mumble()
|
||||
self.undeaf_mumble()
|
||||
self.state = OUTGOING_CALL
|
||||
self.station = station
|
||||
station["red"].on()
|
||||
@@ -45,7 +45,7 @@ class CallManager:
|
||||
station["green"].off()
|
||||
|
||||
def incoming_call(self, station):
|
||||
undeaf_mumble()
|
||||
self.undeaf_mumble()
|
||||
self.state = INCOMING_CALL
|
||||
self.station = station
|
||||
station["red"].on()
|
||||
@@ -54,7 +54,7 @@ class CallManager:
|
||||
print("Hang! self.station", self.station)
|
||||
if self.station is not None:
|
||||
self.station["red"].off()
|
||||
deaf_mumble()
|
||||
self.deaf_mumble()
|
||||
self.state = NO_CALL
|
||||
self.station = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user