From 68a9dcc47becf229187a3a90d1fe386ad55c5992 Mon Sep 17 00:00:00 2001 From: Davis Goglin Date: Tue, 8 Mar 2016 08:12:51 -0800 Subject: [PATCH] Typo fix GS_128 -> GS-128 --- escpos/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/escpos/constants.py b/escpos/constants.py index 9315395..dcac0d3 100644 --- a/escpos/constants.py +++ b/escpos/constants.py @@ -150,7 +150,7 @@ BARCODE_B_ITF = _SET_BARCODE_TYPE(chr(70)) # Barcode type ITF BARCODE_B_NW7 = _SET_BARCODE_TYPE(chr(71)) # Barcode type NW7 BARCODE_B_CODE93 = _SET_BARCODE_TYPE(chr(72)) # Barcode type CODE93 BARCODE_B_CODE128 = _SET_BARCODE_TYPE(chr(73)) # Barcode type CODE128 -BARCODE_B_GS1_128 = _SET_BARCODE_TYPE(chr(74)) # Barcode type GS1_128 +BARCODE_B_GS1_128 = _SET_BARCODE_TYPE(chr(74)) # Barcode type GS1-128 BARCODE_B_GS1_DATABAR_OMNI = _SET_BARCODE_TYPE(chr(75)) # Barcode type GS1 DataBar Omnidirectional BARCODE_B_GS1_DATABAR_TRUNC = _SET_BARCODE_TYPE(chr(76)) # Barcode type GS1 DataBar Truncated BARCODE_B_GS1_DATABAR_LIM = _SET_BARCODE_TYPE(chr(77)) # Barcode type GS1 DataBar Limited @@ -179,7 +179,7 @@ BARCODE_TYPE_B = { 'CODABAR': BARCODE_B_NW7, 'CODE93': BARCODE_B_CODE93, 'CODE128': BARCODE_B_CODE128, - 'GS1_128': BARCODE_B_GS1_128, + 'GS1-128': BARCODE_B_GS1_128, 'GS1 DATABAR OMNIDIRECTIONAL': BARCODE_B_GS1_DATABAR_OMNI, 'GS1 DATABAR TRUNCATED': BARCODE_B_GS1_DATABAR_TRUNC, 'GS1 DATABAR LIMITED': BARCODE_B_GS1_DATABAR_LIM,