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:
|
||||
try:
|
||||
getdata = srvData(inp)
|
||||
host = inp
|
||||
port = getdata[0]
|
||||
host = str(getdata[1])
|
||||
port = int(getdata[0])
|
||||
except:
|
||||
host = inp
|
||||
port = 25565
|
||||
|
|
Reference in a new issue