From a32e417f02a774cc5fe922da8a6bde053f735067 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 2 Dec 2023 18:13:55 +0000 Subject: [PATCH] Remove redundant setup calls. --- mastodonochrome | 2 -- 1 file changed, 2 deletions(-) diff --git a/mastodonochrome b/mastodonochrome index 7a23260..13048e7 100755 --- a/mastodonochrome +++ b/mastodonochrome @@ -14,7 +14,6 @@ import login class TimelineUI(client.Client): def run(self): - login.setup_client(self) for item in reversed(self.get("timelines/home", limit=20)): p = client.Status(item) for thing in p.text(): @@ -23,7 +22,6 @@ class TimelineUI(client.Client): class MentionsUI(client.Client): def run(self): - login.setup_client(self) for item in reversed(self.get("notifications", limit=40)): if item['type'] != 'mention': continue -- 2.30.2