Fix error in passing non-strings to str.join()
This commit is contained in:
parent
71b039a180
commit
dd2c74231f
1 changed files with 1 additions and 1 deletions
|
|
@ -1669,7 +1669,7 @@ class DefaultObject(with_metaclass(TypeclassBase, ObjectDB)):
|
||||||
location_mapping = {"self": "You",
|
location_mapping = {"self": "You",
|
||||||
"object": self,
|
"object": self,
|
||||||
"location": location,
|
"location": location,
|
||||||
"all_receivers": ", ".join(recv for recv in receivers) if receivers else None,
|
"all_receivers": ", ".join(str(recv) for recv in receivers) if receivers else None,
|
||||||
"receiver": None,
|
"receiver": None,
|
||||||
"speech": message}
|
"speech": message}
|
||||||
location_mapping.update(custom_mapping)
|
location_mapping.update(custom_mapping)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue