Fix py display of raw tuple. Resolves #2040

This commit is contained in:
Griatch 2020-01-28 19:12:09 +01:00
parent 51d11b3bdc
commit e50e54182d

View file

@ -233,6 +233,10 @@ def _run_code_snippet(
if ret is None:
return
elif isinstance(ret, tuple):
# we must convert here to allow msg to pass it (a tuple is confused
# with a outputfunc structure)
ret = str(ret)
for session in sessions:
try: