J. Fernando Sánchez 6 years ago committed by GitHub
commit c3f90fc237

@ -0,0 +1,6 @@
try:
import urllib2
except ImportError:
from urllib.request import urlopen
response = urlopen('http://v4.ifconfig.co/ip')
HOSTNAME = response.read()
Loading…
Cancel
Save