mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Verified option set
This commit is contained in:
parent
6d90486c8b
commit
d610d57125
4
twoot.py
4
twoot.py
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user