[POS-commit] r6295 - stoqdrivers/trunk/stoqdrivers/devices/printers/daruma

Johan Dahlin jdahlin at async.com.br
Tue Apr 3 15:37:34 BRT 2007


Author: jdahlin
Date: Tue Apr  3 15:37:34 2007
New Revision: 6295

Modified:
   stoqdrivers/trunk/stoqdrivers/devices/printers/daruma/FS345.py

Log:
Use get_status instead of check_status, so an exception isn't raised


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	Tue Apr  3 15:37:34 2007
@@ -348,7 +348,7 @@
         self._customer_address = address
 
     def coupon_open(self):
-        status = self._check_status()
+        status = self._get_status()
         if self._is_open(status):
             raise CouponOpenError(_("Coupon already open"))
         self.send_command(CMD_OPEN_COUPON)


More information about the POS-commit mailing list