minor fix

This commit is contained in:
Wilson Gomez 2023-11-14 10:11:19 -05:00
parent 864739567f
commit 75b72fd78f
1 changed files with 28 additions and 27 deletions

View File

@ -840,6 +840,7 @@ class Receipt(object):
kind = self.order_kind
for order in orders:
try:
if self._environment != 'restaurant':
self._printer = None
if dev_printers.get(order['host']) and kind != 'command':
host = dev_printers[order['host']]