From 82951bfbd324111996853219b746772010d5eebb Mon Sep 17 00:00:00 2001 From: jeancf Date: Wed, 23 Nov 2022 11:42:56 +0100 Subject: [PATCH] Added missing params to info --- twoot.py | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/twoot.py b/twoot.py index adbb143..d92b910 100755 --- a/twoot.py +++ b/twoot.py @@ -487,16 +487,18 @@ def main(argv): ) logging.info('Running with the following configuration:') - logging.info(' Config file : ' + str(toml_file)) - logging.info(' twitter_account : ' + toml['config']['twitter_account']) - logging.info(' mastodon_instance: ' + toml['config']['mastodon_instance']) - logging.info(' mastodon_user : ' + toml['config']['mastodon_user']) - logging.info(' post_reply_to : ' + str(toml['options']['post_reply_to'])) - logging.info(' skip_retweets : ' + str(toml['options']['skip_retweets'])) - logging.info(' upload_videos : ' + str(toml['options']['upload_videos'])) - logging.info(' tweet_max_age : ' + str(toml['options']['tweet_max_age'])) - logging.info(' tweet_delay : ' + str(toml['options']['tweet_delay'])) - logging.info(' toot_cap : ' + str(toml['options']['toot_cap'])) + logging.info(' Config file : ' + str(toml_file)) + logging.info(' twitter_account : ' + toml['config']['twitter_account']) + logging.info(' mastodon_instance : ' + toml['config']['mastodon_instance']) + logging.info(' mastodon_user : ' + toml['config']['mastodon_user']) + logging.info(' post_reply_to : ' + str(toml['options']['post_reply_to'])) + logging.info(' skip_retweets : ' + str(toml['options']['skip_retweets'])) + logging.info(' remove_link_redirections : ' + str(toml['options']['remove_link_redirections'])) + logging.info(' remove_trackers_from_urls: ' + str(toml['options']['remove_trackers_from_urls'])) + logging.info(' upload_videos : ' + str(toml['options']['upload_videos'])) + logging.info(' tweet_max_age : ' + str(toml['options']['tweet_max_age'])) + logging.info(' tweet_delay : ' + str(toml['options']['tweet_delay'])) + logging.info(' toot_cap : ' + str(toml['options']['toot_cap'])) # Try to open database. If it does not exist, create it sql = sqlite3.connect('twoot.db')