diff --git a/backup/backup.py b/backup/backup.py index 56580d6..60b5aa0 100644 --- a/backup/backup.py +++ b/backup/backup.py @@ -17,6 +17,7 @@ from redbot.core.bot import Red from redbot.core.utils.chat_formatting import error, text_to_file +# pylint: disable=protected-access class Backup(commands.Cog): """A utility to make reinstalling repositories and cogs after migrating the bot far easier.""" @@ -46,9 +47,7 @@ class Backup(commands.Cog): ) return - all_repos = list( - downloader._repo_manager.repos - ) # pylint: disable=protected-access + all_repos = list(downloader._repo_manager.repos) export_data = []