This commit is contained in:
5IGI0
2020-10-25 05:44:12 +01:00
parent 0650b251a6
commit fffbd2ef2a

View File

@@ -39,7 +39,7 @@ class MinecraftServer:
else: else:
raise exception raise exception
async def aync_ping(self, tries=3, **kwargs): async def async_ping(self, tries=3, **kwargs):
connection = await TCPAsyncSocketConnection((self.host, self.port)) connection = await TCPAsyncSocketConnection((self.host, self.port))
exception = None exception = None
for attempt in range(tries): for attempt in range(tries):