style(repo): ruff fixes
This commit is contained in:
parent
9df7f15bbe
commit
ea5f51892a
7 changed files with 39 additions and 38 deletions
|
@ -183,7 +183,7 @@ class Backup(commands.Cog):
|
|||
continue
|
||||
cog_modules.append(cog_module)
|
||||
|
||||
for cog in set(cog.name for cog in cog_modules):
|
||||
for cog in {cog.name for cog in cog_modules}:
|
||||
poss_installed_path = (await downloader.cog_install_path()) / cog
|
||||
if poss_installed_path.exists():
|
||||
with contextlib.suppress(commands.ExtensionNotLoaded):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue