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