Skip to content

Commit

Permalink
Bot: cleanup
Browse files Browse the repository at this point in the history
Change-Id: Id2ea02654f8ccd742a2db589d723d38abbd213cd
  • Loading branch information
adekmaulana committed Jul 18, 2021
1 parent 796ac4b commit 13c7dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/plugins/aria2.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

if TYPE_CHECKING:
from .gdrive import GoogleDrive
from bot.core import Bot
from ..core import Bot


class SeedProtocol(asyncio.SubprocessProtocol):
Expand Down Expand Up @@ -73,7 +73,7 @@ def __init__(self, bot: "Bot", drive: "GoogleDrive") -> None:
self.stopping = False

@classmethod
async def init(cls, bot: Any, drive: "GoogleDrive") -> "Aria2WebSocketServer":
async def init(cls, bot: "Bot", drive: "GoogleDrive") -> "Aria2WebSocketServer":
self = cls(bot, drive)

download_path = self.bot.config["download_path"]
Expand Down

0 comments on commit 13c7dd4

Please sign in to comment.