Fix bug in transcript

This commit is contained in:
Howard Abrams 2025-06-10 05:42:14 +00:00
parent a0e746bcba
commit 4dbb354ce9

View file

@ -226,7 +226,7 @@ class Shrub(Puppet):
text = sub(r"\n", ' <br/>\n', text) text = sub(r"\n", ' <br/>\n', text)
if msg_type and msg_type == 'look': if msg_type and msg_type == 'look':
text = text[0].upper + text[1:] text = text[0].upper() + text[1:]
return f"<div class=\"special\"><p>{text}</p></div>\n" return f"<div class=\"special\"><p>{text}</p></div>\n"
return f"<p>{text}</p>\n" return f"<p>{text}</p>\n"