fix: only undeaf if contacted other point
This commit is contained in:
@@ -28,7 +28,6 @@ class CallManager:
|
|||||||
|
|
||||||
def call(self, station):
|
def call(self, station):
|
||||||
try:
|
try:
|
||||||
undeaf_mumble()
|
|
||||||
s = socket.socket()
|
s = socket.socket()
|
||||||
print('host=', station['host'])
|
print('host=', station['host'])
|
||||||
print('port=', station['port'])
|
print('port=', station['port'])
|
||||||
@@ -37,6 +36,7 @@ class CallManager:
|
|||||||
response = s.recv(1024)
|
response = s.recv(1024)
|
||||||
print('Call notice sent', 'response=', response.decode())
|
print('Call notice sent', 'response=', response.decode())
|
||||||
s.close()
|
s.close()
|
||||||
|
undeaf_mumble()
|
||||||
self.state = OUTGOING_CALL
|
self.state = OUTGOING_CALL
|
||||||
self.station = station
|
self.station = station
|
||||||
station['red'].on()
|
station['red'].on()
|
||||||
|
|||||||
Reference in New Issue
Block a user