fix(backup): fixed an AttributeError

This commit is contained in:
Seaswimmer 2024-01-31 14:40:58 -05:00
parent 8327270e61
commit acf89e090f
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

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