Update btserver.py
This commit is contained in:
parent
8bc2d51af0
commit
499682c1f2
@ -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