From a534f67c49db728c6bce2ff597745dc43069a5f7 Mon Sep 17 00:00:00 2001 From: spla Date: Fri, 20 Nov 2020 13:26:54 +0100 Subject: [PATCH] Fix #4 and #5 --- mastochess.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mastochess.py b/mastochess.py index d352f86..50c9ebe 100644 --- a/mastochess.py +++ b/mastochess.py @@ -1131,13 +1131,19 @@ if __name__ == '__main__': print(v_error) + toot_text = "@"+username + ' moviment il·legal! (' + moving + '!?)\n' + + mastodon.status_post(toot_text, in_reply_to_id=status_id,visibility=visibility) + + update_replies(status_id, username, now) + pass except AssertionError as a_error: print(a_error) - toot_text = "@"+username + ' moviment il·legal!' + '\n' + toot_text = "@"+username + ' moviment il·legal! (' + moving + '!?)\n' mastodon.status_post(toot_text, in_reply_to_id=status_id,visibility=visibility)