From a0ce29f4c5ff1239244004d9df5ed370ad4c2868 Mon Sep 17 00:00:00 2001 From: jeancf Date: Fri, 18 Dec 2020 17:35:50 +0100 Subject: [PATCH] Fine tuning --- twoot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/twoot.py b/twoot.py index 085e68a..cf0f485 100755 --- a/twoot.py +++ b/twoot.py @@ -338,7 +338,7 @@ def main(argv): # Add prefix if the tweet is a reply-to replying_to_class = status.find('div', class_='replying-to') if replying_to_class is not None: - tweet_text += 'Replying to ' + replying_to_class.a.get_text() + tweet_text += 'Replying to ' + replying_to_class.a.get_text() + '\n\n' # Check it the tweet is a retweet from somebody else if author_account.lower() != twit_account.lower(): @@ -456,6 +456,7 @@ def main(argv): password=mast_password, to_file=mast_account + ".secret" ) + logging.info('Logging in to ' + mast_instance) except MastodonError as me: logging.fatal('ERROR: Login to ' + mast_instance + ' Failed\n')