From 1d23c1f2bc2fd365255ac0030aaea816895ff60b Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri, 23 Oct 2020 19:11:57 +0200 Subject: [PATCH] cast to str --- redbot/core/core_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index e768b1b5d..455276460 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -2610,12 +2610,12 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic): ) e.add_field( name="Data path", - value=escape(data_path, formatting=True), + value=escape(str(data_path), formatting=True), inline=False, ) e.add_field( name="Metadata file", - value=escape(config_file, formatting=True), + value=escape(str(config_file), formatting=True), inline=False, ) await ctx.send(embed=e)