From 75c51cc7dbb41b7f8f997a974a136f6daff07752 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Fri, 27 Nov 2020 21:51:48 +0100 Subject: [PATCH] refactor to take advantage of built-in barcode and encoding in escpos library --- screenless/bureau/publicrelations/publicrelations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/publicrelations/publicrelations.py b/screenless/bureau/publicrelations/publicrelations.py index 8b7a792..0f61062 100644 --- a/screenless/bureau/publicrelations/publicrelations.py +++ b/screenless/bureau/publicrelations/publicrelations.py @@ -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"]: