This commit is contained in:
Torsten Kurbad 2017-09-07 17:22:50 +02:00
parent 75c8a13170
commit a97b25309e

View File

@ -212,7 +212,7 @@ if __name__ == "__main__":
sys.exit(1) sys.exit(1)
log.info('PyUPSMon successfully started.') log.info('PyUPSMon successfully started.')
while True: while True:
(toggled, onBatt) = ups.powerToggled() (toggled, onBatt) = ups.powerToggled()
if toggled: if toggled: