From 34d39ae21aeca234aa18f06cd0ef979597af2c8f Mon Sep 17 00:00:00 2001 From: briano81 Date: Wed, 6 May 2020 14:15:29 -0400 Subject: [PATCH] Add log message for wifi re-join Add log message indicating that the user has re-joined the wifi network --- sonota.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sonota.py b/sonota.py index 195dedc..2ab71f2 100755 --- a/sonota.py +++ b/sonota.py @@ -629,6 +629,9 @@ def stage2(): while True: conn_attempt += 1 if args.serving_host in ip4ips(): + if conn_attempt > 1: + log.info("** Detected connection to {} as {}, proceeding.".format( + args.wifi_ssid, args.serving_host)) break else: if conn_attempt == 1: