mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix bug in examine attrvalue. Resolves #2175.
This commit is contained in:
parent
dd5c6274b7
commit
7c9705d90a
1 changed files with 1 additions and 2 deletions
|
|
@ -2375,9 +2375,8 @@ class CmdExamine(ObjManipCommand):
|
|||
value (any): Attribute value.
|
||||
Returns:
|
||||
"""
|
||||
value = utils.to_str(value)
|
||||
if crop:
|
||||
if not isinstance(value, str):
|
||||
value = utils.to_str(value)
|
||||
value = utils.crop(value)
|
||||
value = inlinefunc_raw(ansi_raw(value))
|
||||
if category:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue