[POS-commit] r3308 -
stoqdrivers/trunk/stoqdrivers/devices/printers/daruma
Henrique Romano
henrique at async.com.br
Wed Apr 19 15:58:42 BRT 2006
Author: henrique
Date: Wed Apr 19 15:58:42 2006
New Revision: 3308
Modified:
stoqdrivers/trunk/stoqdrivers/devices/printers/daruma/FS345.py
Log:
Fixing a bug, wrong indices
Modified: stoqdrivers/trunk/stoqdrivers/devices/printers/daruma/FS345.py
==============================================================================
--- stoqdrivers/trunk/stoqdrivers/devices/printers/daruma/FS345.py (original)
+++ stoqdrivers/trunk/stoqdrivers/devices/printers/daruma/FS345.py Wed Apr 19 15:58:42 2006
@@ -331,7 +331,7 @@
int(float(quantity) * 1e3),
unit, description[:174])
value = self.send_command(CMD_ADD_ITEM_3L13D53U, data)
- return int(value[2:5])
+ return int(value[1:4])
def coupon_cancel_item(self, item_id):
self.send_command(CMD_CANCEL_ITEM, "%03d" % item_id)
More information about the POS-commit
mailing list