Use to_str/to_bytes, replacing old versions
This commit is contained in:
commit
c3ebd8d251
24 changed files with 130 additions and 121 deletions
|
|
@ -2077,7 +2077,7 @@ class CmdExamine(ObjManipCommand):
|
|||
"""
|
||||
if crop:
|
||||
if not isinstance(value, str):
|
||||
value = utils.to_str(value, force_string=True)
|
||||
value = utils.to_str(value)
|
||||
value = utils.crop(value)
|
||||
|
||||
string = "\n %s = %s" % (attr, value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue