From: Simon Tatham Date: Sat, 2 Dec 2023 18:13:55 +0000 (+0000) Subject: Remove redundant setup calls. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=a32e417f02a774cc5fe922da8a6bde053f735067;p=mastodonochrome.git Remove redundant setup calls. --- 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