Added IP info to the sys_info.py example. Also included a caching (default: 4 hours) since IP address is not something that changes frequently.
If something goes wrong, the line will be blank.
The rationale for this change is that the IP being displayed is super useful information to have at hand and goes well with all the other stats printed in this example.
Added IP info to the
sys_info.py
example. Also included a caching (default: 4 hours) since IP address is not something that changes frequently.If something goes wrong, the line will be blank.
The rationale for this change is that the IP being displayed is super useful information to have at hand and goes well with all the other stats printed in this example.