Convert to string
This commit is contained in:
parent
122461b6e0
commit
86f9984998
|
@ -72,7 +72,7 @@ class Tutorial:
|
||||||
params = []
|
params = []
|
||||||
for key, value in command.clean_params.items():
|
for key, value in command.clean_params.items():
|
||||||
# Get the parameter type, as well as the default value if it exists
|
# 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:
|
try:
|
||||||
# We want everything after the :
|
# We want everything after the :
|
||||||
param_type = param_type.split(":")[1]
|
param_type = param_type.split(":")[1]
|
||||||
|
|
Loading…
Reference in a new issue