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