try to get home timeline from hometown

workspace
Brendan Howell 4 years ago
parent 0f46931297
commit 91f5bdb54d

@ -368,11 +368,10 @@ class PublicRelations(Bureau):
# TODO: add fancier formatting i.e. inverted text for username/handle
# TODO: clean this up to use the built in formatting from escpos lib
# and make a print_status function to use for notifications too
toots = self.masto.timeline(limit=count)
toots = self.masto.timeline(timeline="public", limit=count)
out = ""
for t in toots:
prn.set(underline=1)
print("toot from:" + str(t.account))
username = str(t.account.display_name)
acct = str(t.account.acct)
prn.textln(username + " (" + acct + ")")

Loading…
Cancel
Save