Disable reporting of open/close switch, needs rewrite

This commit is contained in:
Ondrej Mikle 2018-04-20 21:31:38 +02:00
parent fda6f26db4
commit 33902536c1

View file

@ -373,10 +373,11 @@ if __name__ == "__main__":
ircThread = IrcThread(config, ircMsgQueue) ircThread = IrcThread(config, ircMsgQueue)
ircThread.setDaemon(True) ircThread.setDaemon(True)
ircThread.start() ircThread.start()
if config.useOpenSwitch: # Disable for now, topic is not working properly
openSwitchThread = OpenSwitchThread(config, ircThread) # if config.useOpenSwitch:
openSwitchThread.setDaemon(True) # openSwitchThread = OpenSwitchThread(config, ircThread)
openSwitchThread.start() # openSwitchThread.setDaemon(True)
# openSwitchThread.start()
nfcScanner = NFCScanner(config, ircMsgQueue, ircThread) nfcScanner = NFCScanner(config, ircMsgQueue, ircThread)
nfcScanner.run() nfcScanner.run()