Skip to content

Commit

Permalink
refactor: remove unnecessary import
Browse files Browse the repository at this point in the history
  • Loading branch information
KnownBlackHat committed Jul 14, 2024
1 parent 850a66c commit 216663b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mr_robot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
from sqlalchemy import event
from sqlalchemy.engine import Engine

import mr_robot.log
from mr_robot.bot import MrRobot
from mr_robot.constants import Client, Database
from mr_robot.log import setup_logging


@event.listens_for(Engine, "connect")
Expand All @@ -23,7 +23,7 @@ def set_sqlite_pragma(dbapi_connection, _):


async def main():
setup_logging()
mr_robot.log.setup_logging()
logger = logging.getLogger(Client.name)
async with httpx.AsyncClient(timeout=httpx.Timeout(None)) as session:
client = MrRobot(
Expand Down
2 changes: 0 additions & 2 deletions mr_robot/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
import disnake
import requests
from bs4 import BeautifulSoup
from dotenv import load_dotenv

from mr_robot.constants import Client

load_dotenv()
logger = logging.getLogger(__name__)


Expand Down

0 comments on commit 216663b

Please sign in to comment.