From bcef415801989153c1672866e40a1d52adab3023 Mon Sep 17 00:00:00 2001 From: Arles Date: Thu, 27 Feb 2020 08:31:15 -0300 Subject: [PATCH] pra rodar com cron --- mari.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mari.py b/mari.py index b017aa7..78b9140 100644 --- a/mari.py +++ b/mari.py @@ -26,8 +26,6 @@ hj = datetime.date.today() dias = (hj - data).days -while True: - msg = str(dias) + " dias. \n Quem mandou matar Marielle? \n E por quê?" - mastodon.log_in(login, pwd) - mastodon.status_post(msg, spoiler_text="Marielle") - time.sleep(86400) \ No newline at end of file +msg = str(dias) + " dias. \n Quem mandou matar Marielle? \n E por quê? :marielle: " +mastodon.log_in(login, pwd) +mastodon.status_post(msg, spoiler_text="Marielle") \ No newline at end of file