From 8b630ac5ea739858b41154033fb2651c771c1b4c Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth <tilman.vatteroth@udo.edu> Date: Tue, 29 Jan 2019 09:12:38 +0100 Subject: [PATCH] add event description to twitter --- twitter_bot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/twitter_bot.py b/twitter_bot.py index 7e6e3a1c..37a59f07 100755 --- a/twitter_bot.py +++ b/twitter_bot.py @@ -67,6 +67,9 @@ message = [ "\n", next_event.title, "\n", + "" if next_event.description is "" else "\n", + next_event.description, + "" if next_event.description is "" else "\n\n", "%s?pk_campaign=twitter" % next_event.link ] -- GitLab