From 14a8148e8dc6a599ec1ff1e31d3fd3a64d57a415 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 28 Mar 2019 16:50:16 +0100 Subject: [PATCH] [FIX] hw_escpos: define used variable Oversight of #32079 --- addons/hw_escpos/escpos/constants.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/hw_escpos/escpos/constants.py b/addons/hw_escpos/escpos/constants.py index 6519c76f69c..0000109a964 100644 --- a/addons/hw_escpos/escpos/constants.py +++ b/addons/hw_escpos/escpos/constants.py @@ -2,6 +2,9 @@ """ ESC/POS Commands (Constants) """ +# Control characters +ESC = '\x1b' + # Feed control sequences CTL_LF = '\x0a' # Print and line feed CTL_FF = '\x0c' # Form feed