minor fix
This commit is contained in:
parent
75b72fd78f
commit
86df9c0778
|
@ -840,7 +840,7 @@ class Receipt(object):
|
|||
kind = self.order_kind
|
||||
for order in orders:
|
||||
try:
|
||||
if self._environment != 'restaurant':
|
||||
if self._environment == 'restaurant':
|
||||
self._printer = None
|
||||
if dev_printers.get(order['host']) and kind != 'command':
|
||||
host = dev_printers[order['host']]
|
||||
|
|
Loading…
Reference in New Issue