fix(backup): fixed some other errors
This commit is contained in:
parent
57c129c9ce
commit
f33ebd29e9
1 changed files with 3 additions and 0 deletions
|
@ -186,6 +186,9 @@ class Backup(commands.Cog):
|
||||||
|
|
||||||
if repository.available_libraries:
|
if repository.available_libraries:
|
||||||
installed_libs, failed_libs = await repository.install_libraries(target_dir=downloader.SHAREDLIB_PATH, req_target_dir=downloader.LIB_PATH)
|
installed_libs, failed_libs = await repository.install_libraries(target_dir=downloader.SHAREDLIB_PATH, req_target_dir=downloader.LIB_PATH)
|
||||||
|
else:
|
||||||
|
installed_libs = ((),)
|
||||||
|
failed_libs = ()
|
||||||
|
|
||||||
if cog_pinned:
|
if cog_pinned:
|
||||||
for cog in installed_cogs:
|
for cog in installed_cogs:
|
||||||
|
|
Loading…
Reference in a new issue