This commit is contained in:
Si-Huan 2020-03-02 22:00:46 +08:00 committed by GitHub
parent a98cc9f8d6
commit 4b038254b4

View file

@ -4,7 +4,7 @@ import requests
class Ans(StdAns): class Ans(StdAns):
def GETMSG(self): def GETMSG(self):
try: try:
ip = self.parms[0] ip = self.parms[1]
except: except:
ip = '' ip = ''
url = 'https://api.ip.sb/geoip/' url = 'https://api.ip.sb/geoip/'