From 55db252f44c13d11657a0274d335745e8e7fb2de Mon Sep 17 00:00:00 2001 From: b3yond Date: Sat, 13 Oct 2018 19:34:16 +0200 Subject: [PATCH] mastodon seen toots work differently now; function deprecated --- frontend.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frontend.py b/frontend.py index 6acf3f4..37144d3 100755 --- a/frontend.py +++ b/frontend.py @@ -244,11 +244,6 @@ def login_mastodon(user): try: access_token = m.log_in(masto_email, masto_pass) user.save_masto_token(access_token, instance_url) - - # Trying to set the seen_toot to 0, thereby initializing it. - # It should work now, but has default values. Not sure if I need them. - user.init_seen_toot(instance_url) - return city_page(user.get_city(), info='Thanks for supporting decentralized social networks!') except Exception: logger.error('Login to Mastodon failed.', exc_info=True)