mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
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:
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue