In the OLED script, if function get_wlan0_ip(), None is returned if there is no IP. Whenever this function is used, we need to check if None was returned and handle it.
I recommend that we instead show the message "No IP address" (or similar) in this case, to prevent the script from crashing.
In the OLED script, if function
get_wlan0_ip()
,None
is returned if there is no IP. Whenever this function is used, we need to check ifNone
was returned and handle it.I recommend that we instead show the message "No IP address" (or similar) in this case, to prevent the script from crashing.