Verified option set

This commit is contained in:
jeancf 2023-06-15 14:37:41 +02:00
parent 6d90486c8b
commit d610d57125

View File

@ -183,7 +183,9 @@ def update_profile(nitter_url, soup, sql, mast_password):
:param mast_password: <PASSWORD> :param mast_password: <PASSWORD>
:return: mastodon object we had to login to update, None otherwise :return: mastodon object we had to login to update, None otherwise
""" """
# TODO Check if TOML option to update profile is set # Check if TOML option to update profile is set
if TOML['options']['update_profile'] is False:
return None
db = sql.cursor() db = sql.cursor()