forked from IDeletedSystem64/iptables-deploy
log.warn returns a DeprecationWarning
This commit is contained in:
parent
bcc2e54da6
commit
bb20548f91
@ -96,7 +96,7 @@ def main(): # Main method to be looped.
|
||||
log.info("Checking for a response (pinging "+cfg["server"]+")...")
|
||||
healthcheck()
|
||||
if healthstatus == "ok":
|
||||
log.warn("ONT responded after a fail, deploying payload!")
|
||||
log.warning("ONT responded after a fail, deploying payload!")
|
||||
healthpassing == True
|
||||
time.sleep(10) # Wait 10 seconds for the ONT to fully boot up and start sshd.
|
||||
deploy()
|
||||
|
Loading…
x
Reference in New Issue
Block a user