fix(backup): fixed some other errors
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 14s

This commit is contained in:
Seaswimmer 2024-01-31 14:45:58 -05:00
parent 57c129c9ce
commit f33ebd29e9
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -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: