Skip to content

Commit

Permalink
Update Config_Generator.py
Browse files Browse the repository at this point in the history
修复 ip获取失败问题
  • Loading branch information
yg0147 authored Jun 14, 2019
1 parent 9a6ab49 commit 906e357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Config_Generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import commands

def getip():
myip = urllib2.urlopen('https://cn.fdos.me/ip.php').read()
myip = urllib2.urlopen('https://ipapi.co/ip/').read()
myip = myip.strip()
return str(myip)

Expand Down

0 comments on commit 906e357

Please sign in to comment.