From 344b694f4d175b0a4a12dd14270baf9a608ae8bf Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Sun, 18 Mar 2018 00:25:19 +0100 Subject: [PATCH] - revert to old version of escpos lib --- screenless/bureau/publicrelations/publicrelations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screenless/bureau/publicrelations/publicrelations.py b/screenless/bureau/publicrelations/publicrelations.py index bdd287c..947fbc7 100644 --- a/screenless/bureau/publicrelations/publicrelations.py +++ b/screenless/bureau/publicrelations/publicrelations.py @@ -184,9 +184,9 @@ class PublicRelations(Bureau): prn.image(im, impl="bitImageColumn") tw_shortcode = self.short_tweet_id(tweet["id_str"]) - prn.textln("retweet") + prn.text("retweet\r\n") prn.barcode("PRtwrt." + tw_shortcode, "CODE128", function_type="B") - prn.textln("like") + prn.text("like\r\n") prn.barcode("PRtwlk." + tw_shortcode, "CODE128", function_type="B") prn.text("\r\n\r\n")