[Cog Manager] Fix cog manager paths command (#976)

This commit is contained in:
Will 2017-09-27 22:01:35 -04:00 committed by GitHub
parent cf77eb2e47
commit ea4aaf61c1

View File

@ -193,7 +193,7 @@ class CogManagerUI:
Lists current cog paths in order of priority. Lists current cog paths in order of priority.
""" """
install_path = await ctx.bot.cog_mgr.install_path() install_path = await ctx.bot.cog_mgr.install_path()
cog_paths = ctx.bot.cog_mgr.paths cog_paths = await ctx.bot.cog_mgr.paths()
cog_paths = [p for p in cog_paths if p != install_path] cog_paths = [p for p in cog_paths if p != install_path]
msg = _("Install Path: {}\n\n").format(install_path) msg = _("Install Path: {}\n\n").format(install_path)