diff --git a/deploy.py b/deploy.py index 598356f..0a42b24 100644 --- a/deploy.py +++ b/deploy.py @@ -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()