From 526cc6c6c82aaf43d07afbd1182279474d3ccca7 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Tue, 25 Oct 2011 17:06:30 +0200 Subject: [PATCH] client-barcode: Fix call to LCD code --- client-barcode/freitagskasse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-barcode/freitagskasse.py b/client-barcode/freitagskasse.py index c4f34fb..a723e42 100644 --- a/client-barcode/freitagskasse.py +++ b/client-barcode/freitagskasse.py @@ -300,7 +300,7 @@ class Status: try: net.bulk_buy(buy_commands, self.login_name) except urllib2.HTTPError as e: - print_display('\x0cFEHLER: Server Error%20s' % str(e)[:20]) + myDisplay.display_screen("Server error",'Server Error: %s' % str(e)) error_page('FEHLER bei Kommunikation mit Server "%s"' % str(e)) else: self.transfers = non_buy_commands