forked from blizzthewolf/SeaCogs
fix(backup): fixed an AttributeError
This commit is contained in:
parent
8327270e61
commit
acf89e090f
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class Backup(commands.Cog):
|
||||||
else:
|
else:
|
||||||
commit = None
|
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
|
cogs_c, message = await downloader._filter_incorrect_cogs_by_names(repository, [cog_name]) # pylint: disable=protected-access
|
||||||
if not cogs:
|
if not cogs:
|
||||||
install_e.append(message)
|
install_e.append(message)
|
||||||
|
|
Loading…
Reference in a new issue