mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 05:57:16 +02:00
Fix py display of raw tuple. Resolves #2040
This commit is contained in:
parent
798cacc234
commit
4f92718ecd
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