We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff422a commit 5ecbfa4Copy full SHA for 5ecbfa4
ip_info.py
@@ -4,6 +4,8 @@
4
import urllib2
5
import json
6
import sys
7
+reload(sys)
8
+sys.setdefaultencoding('utf-8')
9
10
ip_api = urllib2.urlopen(r'http://ip-api.com/json')
11
0 commit comments