remove check_int

This commit is contained in:
Crystal Melting Dot 2021-02-20 18:42:47 +03:00
parent 70eb279982
commit 8a74756ab6

View File

@ -11,15 +11,6 @@ from traceback import format_exc
import asyncio import asyncio
def check_int(value) -> bool:
try:
int(value)
except ValueError:
return False
else:
return True
async def send_api_request(client: AsyncClient, endpoint: str, data: dict, node: APINode): async def send_api_request(client: AsyncClient, endpoint: str, data: dict, node: APINode):
try: try:
data['token'] = node.token data['token'] = node.token