|
|
@ -333,9 +333,10 @@ class PublicRelations(Bureau):
|
|
|
|
prn.text("NOTIFICATIONS:\r\n")
|
|
|
|
prn.text("NOTIFICATIONS:\r\n")
|
|
|
|
prn.set(text_type="NORMAL")
|
|
|
|
prn.set(text_type="NORMAL")
|
|
|
|
for note in notifications:
|
|
|
|
for note in notifications:
|
|
|
|
|
|
|
|
username = t.account.display_name.encode("cp437", "ignore") + \
|
|
|
|
|
|
|
|
" (" + t.account.acct.encode("cp437", "ignore") + ")"
|
|
|
|
prn.text(note["type"] + " " + str(note["created_at"]) + " from " +
|
|
|
|
prn.text(note["type"] + " " + str(note["created_at"]) + " from " +
|
|
|
|
note["account"]["display_name"] + " (" +
|
|
|
|
username + ":\r\n" + str(note.keys()) +
|
|
|
|
note["account"]["acct"] + "):\r\n" + str(note.keys()) +
|
|
|
|
|
|
|
|
"\r\n")
|
|
|
|
"\r\n")
|
|
|
|
|
|
|
|
|
|
|
|
prn.text("\r\n\r\n")
|
|
|
|
prn.text("\r\n\r\n")
|
|
|
|