forked from blizzthewolf/SeaCogs
fix(backup): awaited a coroutine
This commit is contained in:
parent
760059f8f0
commit
8327270e61
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ class Backup(commands.Cog):
|
||||||
cog_modules = []
|
cog_modules = []
|
||||||
for cog in cogs:
|
for cog in cogs:
|
||||||
try:
|
try:
|
||||||
cog_module = InstalledCog.convert(ctx, cog['name'])
|
cog_module = await InstalledCog.convert(ctx, cog['name'])
|
||||||
except commands.BadArgument:
|
except commands.BadArgument:
|
||||||
uninstall_e.append(f"Failed to uninstall {cog['name']}")
|
uninstall_e.append(f"Failed to uninstall {cog['name']}")
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue