fix(backup): contains isn't a thing
This commit is contained in:
parent
bbecff3ed0
commit
add1e3ef1d
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class Backup(commands.Cog):
|
|||
url = repo['url']
|
||||
cogs = repo['cogs']
|
||||
|
||||
if url.contains('PyLav/Red-Cogs'):
|
||||
if 'PyLav/Red-Cogs' in url:
|
||||
repo_e.append("PyLav cogs are not supported.")
|
||||
continue
|
||||
if name.startswith('.') or name.endswith('.'):
|
||||
|
|
Loading…
Reference in a new issue