diff --git a/weekly_report.py b/weekly_report.py index 4bb1489..fa607c2 100644 --- a/weekly_report.py +++ b/weekly_report.py @@ -119,11 +119,11 @@ def build_toot(measures_data, tags, top_tooty, date_from, date_to, week_number): tip = TIPS[week_number % len(TIPS)] if top_tooty: - lines = "\n".join( - f"\"{truncate(s['text'], 80).replace(chr(10), ' ')}\" od @{s['acct']} 🔁 {s['reblogs']} ⭐ {s['favourites']}" + blocks = "\n\n".join( + f"👤 @{s['acct']}\n\"{truncate(s['text'], 80).replace(chr(10), ' ')}\"\n🔁 {s['reblogs']} ⭐ {s['favourites']}" for s in top_tooty ) - toot_tyden = f"🌟 Tooty týdne:\n{lines}\n\n" + toot_tyden = f"🌟 Tooty týdne:\n\n{blocks}\n\n" else: toot_tyden = ""