Make threads non-daemon.

This commit is contained in:
Ondrej Mikle 2014-07-20 22:43:36 +02:00
parent a83fb9caee
commit 02c9ba3d58

2
brmdoor_nfc_daemon.py Normal file → Executable file
View 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()