diff --git a/quicktill/cash.py b/quicktill/cash.py index 5113c78..b45d8b3 100644 --- a/quicktill/cash.py +++ b/quicktill/cash.py @@ -95,7 +95,7 @@ def cancel_payment(self, register, pline_instance): else: title = "Cancel refund" message = [f"Press Cash/Enter to cancel this {p.text} " - f"payment of {tillconfig.fc(zero-p.amount)}.", "", + f"payment of {tillconfig.fc(zero - p.amount)}.", "", "If you have already removed the payment from " "the drawer, you should put it back when the " "drawer opens."] diff --git a/quicktill/foodorder.py b/quicktill/foodorder.py index a37427d..89dca8b 100644 --- a/quicktill/foodorder.py +++ b/quicktill/foodorder.py @@ -360,7 +360,7 @@ def __init__(self, func, transid, menuurl, kitchenprinters, key = possible_keys.pop(0) label = str(key) ls = f"{label}: {i[0]}" - trial = f"{tlm[-1]}{('',' ')[len(tlm[-1]) > 0]}{ls}" + trial = f"{tlm[-1]}{('', ' ')[len(tlm[-1]) > 0]}{ls}" if len(trial) > self.w - 4: tlm.append(ls) else: