From 990443a8f395f3bb23115f34dafb690c559ed98c Mon Sep 17 00:00:00 2001 From: ra Date: Sun, 4 Sep 2022 00:39:17 -0500 Subject: [PATCH] unused imports, use imports --- mapy/__init__.py | 1 + mapy/http_api.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mapy/__init__.py b/mapy/__init__.py index af9f95b..3b60ad3 100644 --- a/mapy/__init__.py +++ b/mapy/__init__.py @@ -8,6 +8,7 @@ from .packet import ByteBuffer, Packet, packet_handler __all__ = ( + "server", "constants", "CPacket", "Logger", diff --git a/mapy/http_api.py b/mapy/http_api.py index 44ba5f4..dd67828 100644 --- a/mapy/http_api.py +++ b/mapy/http_api.py @@ -1,7 +1,5 @@ from json import dumps -from urllib.robotparser import RequestRate from sanic import Sanic, Blueprint, json -from sanic.config import Config from sanic.blueprint_group import BlueprintGroup from re import compile