Fixed Host Error in mctools.py

This commit is contained in:
Robert "Red" English 2013-04-12 23:16:49 -03:00
parent 2a33c97f4d
commit 6bc35605e5

View file

@ -126,8 +126,8 @@ def mcping(inp):
else:
try:
getdata = srvData(inp)
host = inp
port = getdata[0]
host = str(getdata[1])
port = int(getdata[0])
except:
host = inp
port = 25565