chiark
/
gitweb
/
~ian
/
mastodonochrome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c05e4d
)
Remove redundant setup calls.
author
Simon Tatham
<anakin@pobox.com>
Sat, 2 Dec 2023 18:13:55 +0000
(18:13 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Sat, 2 Dec 2023 18:13:55 +0000
(18:13 +0000)
mastodonochrome
patch
|
blob
|
history
diff --git
a/mastodonochrome
b/mastodonochrome
index 7a2326058c46c9aa994787e0f15cd29b075aebdf..13048e73e95963bdfe17a16ebe66402660c3008a 100755
(executable)
--- 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