chiark / gitweb /
Remove redundant setup calls.
authorSimon Tatham <anakin@pobox.com>
Sat, 2 Dec 2023 18:13:55 +0000 (18:13 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 2 Dec 2023 18:13:55 +0000 (18:13 +0000)
mastodonochrome

index 7a2326058c46c9aa994787e0f15cd29b075aebdf..13048e73e95963bdfe17a16ebe66402660c3008a 100755 (executable)
@@ -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