From 9b930fc05bb251092b20f3fad755e83b7249fa7f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 31 Jan 2024 14:48:07 -0500 Subject: [PATCH] fix(backup): fixed the final logging step --- backup/backup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backup/backup.py b/backup/backup.py index 9322105..2d642c9 100644 --- a/backup/backup.py +++ b/backup/backup.py @@ -187,14 +187,14 @@ class Backup(commands.Cog): if repository.available_libraries: installed_libs, failed_libs = await repository.install_libraries(target_dir=downloader.SHAREDLIB_PATH, req_target_dir=downloader.LIB_PATH) else: - installed_libs = ((),) - failed_libs = () + installed_libs = None + failed_libs = None if cog_pinned: for cog in installed_cogs: cog.pinned = True - await downloader._save_to_installed(installed_cogs + installed_libs) + await downloader._save_to_installed(installed_cogs + installed_libs if installed_libs else installed_cogs) if failed_cogs: install_e.append(f"Failed to install {failed_cogs}") if failed_libs: