diff --git a/twoot.py b/twoot.py index f4a29eb..cd6968d 100755 --- a/twoot.py +++ b/twoot.py @@ -893,28 +893,29 @@ def main(argv): logger.setLevel(log_level) logging.info('Running with the following configuration:') - logging.info(' Config File : ' + str(args['f'])) - 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(' upload_videos : ' + str(TOML['options']['upload_videos'])) - 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(' footer : ' + TOML['options']['footer']) - logging.info(' tweet_time_format : ' + TOML['options']['tweet_time_format']) - logging.info(' tweet_timezone : ' + TOML['options']['tweet_timezone']) - logging.info(' remove_original_tweet_ref: ' + str(TOML['options']['remove_original_tweet_ref'])) - logging.info(' update_profile : ' + str(TOML['options']['update_profile'])) - 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(' subst_twitter : ' + str(TOML['options']['subst_twitter'])) - logging.info(' subst_youtube : ' + str(TOML['options']['subst_youtube'])) - logging.info(' subst_reddit : ' + str(TOML['options']['subst_reddit'])) - logging.info(' log_level : ' + TOML['options']['log_level']) - logging.info(' log_days : ' + str(TOML['options']['log_days'])) + logging.info(' Config File : ' + str(args['f'])) + 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(' upload_videos : ' + str(TOML['options']['upload_videos'])) + 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(' footer : ' + TOML['options']['footer']) + logging.info(' tweet_time_format : ' + TOML['options']['tweet_time_format']) + logging.info(' tweet_timezone : ' + TOML['options']['tweet_timezone']) + logging.info(' remove_original_tweet_ref : ' + str(TOML['options']['remove_original_tweet_ref'])) + logging.info(' update_profile : ' + str(TOML['options']['update_profile'])) + logging.info(' tweet_max_age : ' + str(TOML['options']['tweet_max_age'])) + logging.info(' tweet_delay : ' + str(TOML['options']['tweet_delay'])) + logging.info(' upload_pause : ' + str(TOML['options']['upload_pause'])) + logging.info(' toot_cap : ' + str(TOML['options']['toot_cap'])) + logging.info(' subst_twitter : ' + str(TOML['options']['subst_twitter'])) + logging.info(' subst_youtube : ' + str(TOML['options']['subst_youtube'])) + logging.info(' subst_reddit : ' + str(TOML['options']['subst_reddit'])) + logging.info(' log_level : ' + TOML['options']['log_level']) + logging.info(' log_days : ' + str(TOML['options']['log_days'])) # Try to open database. If it does not exist, create it sql = sqlite3.connect('twoot.db')