From 86f9984998cb5b8d223d2c60768e4e29f33271c3 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Fri, 12 Jan 2018 16:15:21 -0600 Subject: [PATCH] Convert to string --- cogs/tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/tutorial.py b/cogs/tutorial.py index c4c44f8..dd672ba 100644 --- a/cogs/tutorial.py +++ b/cogs/tutorial.py @@ -72,7 +72,7 @@ class Tutorial: params = [] for key, value in command.clean_params.items(): # Get the parameter type, as well as the default value if it exists - param_type, has_default, default_value = value.partition("=") + param_type, has_default, default_value = str(value).partition("=") try: # We want everything after the : param_type = param_type.split(":")[1]