refactor to take advantage of built-in barcode and encoding in escpos library

workspace
Brendan Howell 4 years ago
parent c52486b91d
commit 75c51cc7db

@ -199,7 +199,7 @@ class PublicRelations(Bureau):
prn.textln(username)
prn.set(text_type="NORMAL")
twtext = html.unescape(tweet["full_text"])
prn.(twtext)
prn.block_text(twtext)
if "media" in tweet["entities"]:
for entity in tweet["entities"]["media"]:

Loading…
Cancel
Save