mirror of https://github.com/balkian/gists
master
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…
Reference in New Issue