Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sde1000 committed Jun 25, 2024
1 parent 61f69eb commit 42f112c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quicktill/cash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."]
Expand Down
2 changes: 1 addition & 1 deletion quicktill/foodorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 42f112c

Please sign in to comment.