mbot-project / mbot_sys_utils

Install scripts and utilities for setting up MBot environment on Ubuntu/Debian
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

OLED crashes when the IP cannot be found #14

Closed janapavlasek closed 1 month ago

janapavlasek commented 1 month ago

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.

janapavlasek commented 1 month ago

Fixed with #15