diff --git a/tab b/tab index 667a1a6..66e44f4 100755 --- a/tab +++ b/tab @@ -51,7 +51,7 @@ def formatted_transaction(transaction, me, balance_after=None): to_account = TAP_ACCOUNT if issuer == "Tap" else FOOD_ACCOUNT to_line = f"{to_account} {amount}" - from_line = f"tab {assertion}".rstrip() + from_line = f"tab {assertion}" else: to_line = f"tab {amount} {assertion}" @@ -60,8 +60,8 @@ def formatted_transaction(transaction, me, balance_after=None): return "\n".join([ header, - "\t" + to_line, - "\t" + from_line + "\t" + to_line.rstrip(), + "\t" + from_line.rstrip() ])