Make up
This commit is contained in:
parent
75c8a13170
commit
a97b25309e
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user