I have just managed to get my error log
Traceback (most recent call last):
File "/home/sqms/stats.py", line 97, in <module>
main()
File "/home/sqms/stats.py", line 89, in main
stats(oled)
File "/home/sqms/stats.py", line 79, in stats
draw.text((0, 0), hostname(), font=font2, fill=255)
^^^^^^^^^^
File "/home/sqms/stats.py", line 36, in hostname
ip_address = output.split()[0]
~~~~~~~~~~~~~~^^^
IndexError: list index out of range