mirror of https://github.com/stijndcl/didier
Add three dots when truncating
parent
981f7a1457
commit
2c634912ef
|
@ -40,7 +40,7 @@ class UforaNotification:
|
|||
desc = self._clean_content(self._content["summary"])
|
||||
|
||||
if len(desc) > 500:
|
||||
return desc[:500]
|
||||
return desc[:497] + "..."
|
||||
|
||||
return desc
|
||||
|
||||
|
|
Loading…
Reference in New Issue