|
|
@ -334,10 +334,10 @@ class PublicRelations(Bureau):
|
|
|
|
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") + \
|
|
|
|
username = t.account.display_name.encode("cp437", "ignore") + \
|
|
|
|
" (" + t.account.acct.encode("cp437", "ignore") + ")"
|
|
|
|
b" (" + t.account.acct.encode("cp437", "ignore") + b")"
|
|
|
|
prn.text(note["type"] + " " + str(note["created_at"]) + " from " +
|
|
|
|
prn.text(note["type"] + " " + str(note["created_at"]) + " from ")
|
|
|
|
username + ":\r\n" + str(note.keys()) +
|
|
|
|
prn._raw(username)
|
|
|
|
"\r\n")
|
|
|
|
prn.text(":\r\n" + str(note.keys()) + "\r\n")
|
|
|
|
|
|
|
|
|
|
|
|
prn.text("\r\n\r\n")
|
|
|
|
prn.text("\r\n\r\n")
|
|
|
|
prn.cut()
|
|
|
|
prn.cut()
|
|
|
|