Fix py display of raw tuple. Resolves #2040
This commit is contained in:
parent
51d11b3bdc
commit
e50e54182d
1 changed files with 4 additions and 0 deletions
|
|
@ -233,6 +233,10 @@ def _run_code_snippet(
|
||||||
|
|
||||||
if ret is None:
|
if ret is None:
|
||||||
return
|
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:
|
for session in sessions:
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue