Fixed Host Error in mctools.py
This commit is contained in:
parent
2a33c97f4d
commit
6bc35605e5
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ def mcping(inp):
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
getdata = srvData(inp)
|
getdata = srvData(inp)
|
||||||
host = inp
|
host = str(getdata[1])
|
||||||
port = getdata[0]
|
port = int(getdata[0])
|
||||||
except:
|
except:
|
||||||
host = inp
|
host = inp
|
||||||
port = 25565
|
port = 25565
|
||||||
|
|
Reference in a new issue