From acf89e090f3ceecdf3f9c7d6c86a67a02c499e26 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 31 Jan 2024 14:40:58 -0500 Subject: [PATCH] fix(backup): fixed an AttributeError --- backup/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/backup.py b/backup/backup.py index 84cc5b3..26c3860 100644 --- a/backup/backup.py +++ b/backup/backup.py @@ -172,7 +172,7 @@ class Backup(commands.Cog): else: commit = None - async with repository.checkout(commit, exit_to_rev=repo.branch): + async with repository.checkout(commit, exit_to_rev=repository.branch): cogs_c, message = await downloader._filter_incorrect_cogs_by_names(repository, [cog_name]) # pylint: disable=protected-access if not cogs: install_e.append(message)