Update get_public_ip.py

Less code bb