fix(hotreload): fix typehint
This commit is contained in:
parent
9b96a15621
commit
e7714cd2df
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class HotReload(commands.Cog):
|
|||
]
|
||||
return "\n".join(text)
|
||||
|
||||
async def get_paths(self) -> Generator[Path]:
|
||||
async def get_paths(self) -> Generator[Path, None, None]:
|
||||
"""Retrieve user defined paths."""
|
||||
cog_manager = self.bot._cog_mgr # noqa: SLF001 # We have to use this private method because there is no public API to get user defined paths
|
||||
cog_paths = await cog_manager.user_defined_paths()
|
||||
|
|
Loading…
Add table
Reference in a new issue