mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-08 16:36:25 +02:00
Make threads non-daemon.
This commit is contained in:
parent
a83fb9caee
commit
02c9ba3d58
1 changed files with 0 additions and 2 deletions
2
brmdoor_nfc_daemon.py
Normal file → Executable file
2
brmdoor_nfc_daemon.py
Normal file → Executable file
|
@ -113,11 +113,9 @@ if __name__ == "__main__":
|
|||
uidQueue = Queue.Queue(1)
|
||||
|
||||
nfcThread = NfcThread(uidQueue)
|
||||
nfcThread.setDaemon(True)
|
||||
nfcThread.start()
|
||||
|
||||
unlockThread = UnlockThread(uidQueue, config.authDbFilename, config.lockOpenedSecs)
|
||||
unlockThread.setDaemon(True)
|
||||
unlockThread.start()
|
||||
|
||||
uidQueue.join()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue