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)