Add three dots when truncating

pull/42/head
Stijn De Clercq 2021-03-03 18:44:53 +01:00
parent 981f7a1457
commit 2c634912ef
1 changed files with 1 additions and 1 deletions

View File

@ -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