Make up
This commit is contained in:
+1
-1
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user