Update btserver.py
This commit is contained in:
parent
267ac69a1a
commit
bf8934a202
@ -76,7 +76,7 @@ class BluetoothServer(Thread):
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
while True:
|
while True:
|
||||||
self.cmd_queue.put('standby')
|
self.cmd_queue.put('standby:')
|
||||||
# Wait for a connection
|
# Wait for a connection
|
||||||
# print('wait for a connection')
|
# print('wait for a connection')
|
||||||
# self.status.emit(self.LISTEN, '')
|
# self.status.emit(self.LISTEN, '')
|
||||||
@ -105,5 +105,5 @@ class BluetoothServer(Thread):
|
|||||||
|
|
||||||
finally:
|
finally:
|
||||||
self.bt_socket.close()
|
self.bt_socket.close()
|
||||||
self.cmd_queue.put('standby')
|
self.cmd_queue.put('standby:')
|
||||||
print('exit')
|
print('exit')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user