minor fix

This commit is contained in:
Wilson Gomez 2023-11-14 14:24:23 -05:00
parent 75b72fd78f
commit 86df9c0778
1 changed files with 1 additions and 1 deletions

View File

@ -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']]