|
|
|
@ -149,7 +149,7 @@ class PublicRelations(Bureau):
|
|
|
|
|
prn._raw(username)
|
|
|
|
|
prn.text("\r\n")
|
|
|
|
|
prn.set(text_type="NORMAL")
|
|
|
|
|
twtext = html.unescape(t["text"])
|
|
|
|
|
twtext = html.unescape(t["full_text"])
|
|
|
|
|
t_wrapped = textwrap.fill(twtext, width=48) + "\r\n"
|
|
|
|
|
t_enc = t_wrapped.encode("cp437", "ignore")
|
|
|
|
|
prn._raw(t_enc)
|
|
|
|
@ -189,7 +189,7 @@ class PublicRelations(Bureau):
|
|
|
|
|
prn._raw(username)
|
|
|
|
|
prn.text("\r\n")
|
|
|
|
|
prn.set(text_type="NORMAL")
|
|
|
|
|
twtext = html.unescape(tweet["text"])
|
|
|
|
|
twtext = html.unescape(tweet["full_text"])
|
|
|
|
|
t_wrapped = textwrap.fill(twtext, width=48) + "\r\n"
|
|
|
|
|
t_enc = t_wrapped.encode("cp437", "ignore")
|
|
|
|
|
prn._raw(t_enc)
|
|
|
|
|