mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-30 15:31:11 +00:00
Updated logging info
This commit is contained in:
parent
85c5c2ef48
commit
4a73a6252e
22
twoot.py
22
twoot.py
|
@ -486,17 +486,17 @@ def main(argv):
|
||||||
datefmt='%Y-%m-%d %H:%M:%S',
|
datefmt='%Y-%m-%d %H:%M:%S',
|
||||||
)
|
)
|
||||||
|
|
||||||
logging.info('Running with the following parameters:')
|
logging.info('Running with the following configuration:')
|
||||||
logging.info(' -f ' + str(toml_file))
|
logging.info(' Config file : ' + str(toml_file))
|
||||||
logging.info(' -t ' + toml['config']['twitter_account'])
|
logging.info(' twitter_account : ' + toml['config']['twitter_account'])
|
||||||
logging.info(' -i ' + toml['config']['mastodon_instance'])
|
logging.info(' mastodon_instance: ' + toml['config']['mastodon_instance'])
|
||||||
logging.info(' -m ' + toml['config']['mastodon_user'])
|
logging.info(' mastodon_user : ' + toml['config']['mastodon_user'])
|
||||||
logging.info(' -r ' + str(toml['options']['post_reply_to']))
|
logging.info(' post_reply_to : ' + str(toml['options']['post_reply_to']))
|
||||||
logging.info(' -s ' + str(toml['options']['skip_retweets']))
|
logging.info(' skip_retweets : ' + str(toml['options']['skip_retweets']))
|
||||||
logging.info(' -v ' + str(toml['options']['upload_videos']))
|
logging.info(' upload_videos : ' + str(toml['options']['upload_videos']))
|
||||||
logging.info(' -a ' + str(toml['options']['tweet_max_age']))
|
logging.info(' tweet_max_age : ' + str(toml['options']['tweet_max_age']))
|
||||||
logging.info(' -d ' + str(toml['options']['tweet_delay']))
|
logging.info(' tweet_delay : ' + str(toml['options']['tweet_delay']))
|
||||||
logging.info(' -c ' + str(toml['options']['toot_cap']))
|
logging.info(' toot_cap : ' + str(toml['options']['toot_cap']))
|
||||||
|
|
||||||
# Try to open database. If it does not exist, create it
|
# Try to open database. If it does not exist, create it
|
||||||
sql = sqlite3.connect('twoot.db')
|
sql = sqlite3.connect('twoot.db')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user