diff --git a/bbot/core/helpers/web/envelopes.py b/bbot/core/helpers/web/envelopes.py index c000c5d1c0..093c036a6b 100644 --- a/bbot/core/helpers/web/envelopes.py +++ b/bbot/core/helpers/web/envelopes.py @@ -143,7 +143,7 @@ def get_subparams(self, key=None, data=None, recursive=True): else: yield full_key, v else: - yield [], data + yield [], str(data) def get_subparam(self, key=None, recursive=True): if key is None: @@ -160,7 +160,7 @@ def get_subparam(self, key=None, recursive=True): else: for segment in key: data = data[segment] - return data + return str(data) def set_subparam(self, key=None, value=None, recursive=True): envelope = self