1
0
Fork 0
mirror of synced 2024-05-05 13:12:34 +12:00

Convert to string

This commit is contained in:
Phxntxm 2018-01-12 16:15:21 -06:00
parent 122461b6e0
commit 86f9984998

View file

@ -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]