Add link to schedule.
This commit is contained in:
parent
12d3c3ddd4
commit
7014b4ea10
|
@ -133,9 +133,12 @@ def parse_args():
|
|||
def toot_for(talk, ahead_days=0):
|
||||
"""Redact a toot for a given talk."""
|
||||
if ahead_days:
|
||||
return f"Dans {ahead_days} jours exactement, salle {talk.room} : « {talk.title} » présenté par {talk.author}"
|
||||
msg = f"Dans {ahead_days} jours exactement, salle {talk.room} : « {talk.title} » présenté par {talk.author}"
|
||||
else:
|
||||
return f"Salle {talk.room} : « {talk.title} » présenté par {talk.author}, c'est maintenant !"
|
||||
msg = f"Salle {talk.room} : « {talk.title} » présenté par {talk.author}, c'est maintenant !"
|
||||
|
||||
msg += "\n\nLe programme : https://www.pycon.fr/2023/fr/schedule.html"
|
||||
return msg
|
||||
|
||||
|
||||
def live_toot(talks, mastodon: Mastodon, ahead_days=0):
|
||||
|
|
Loading…
Reference in New Issue