forked from rDrama/rDrama
1
0
Fork 0

fix error

master
Aevann 2024-02-17 19:50:16 +02:00
parent a8f6ca4409
commit 7df4277e17
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ def lemmy_mentions_task():
title = thing["name"]
text = f'<blockquote><p>{title}</p></blockquote>'
if thing["body"]:
if thing.get("body"):
selftext = thing["body"][:5000]
text += f'<br><blockquote><p>{selftext}</p></blockquote>'