From 386aac4a8ee49c5cf98a7ae0124d32879d9f8c59 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 27 Jan 2022 19:07:10 +0200 Subject: [PATCH] cv --- files/routes/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index ac911e5cf7..5b8db54a35 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -512,7 +512,7 @@ def api_comment(v): if parent.author.id != v.id and PUSHER_ID: if len(c.body) > 500: notifbody = c.body[:500] + '...' - else: notifbody = c.body or '' + else: notifbody = c.body or 'no body' beams_client.publish_to_interests( interests=[f'{request.host}{parent.author.id}'],