Skip to content

Commit

Permalink
Add stripe eur parser
Browse files Browse the repository at this point in the history
  • Loading branch information
mayhem committed Sep 12, 2024
1 parent ebf5710 commit c768fc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/parse-stripe.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@
out.writerow([date, sender, str(gross)])
if balance is not None:
balance = balance + gross
print("%s %-40s %10s %10s" % (date, sender, str(gross), str(balance)))
print("%s,%-40s,%10s,%10s" % (date, sender, str(gross), str(balance)))
balance = balance - fee
print("%s %-40s %10s %10s" % (date, "Stripe fee", str(fee), str(balance)))
print("%s,%-40s,%10s,%10s" % (date, "Stripe fee", str(fee), str(balance)))

fp.close()
_out.close()

0 comments on commit c768fc8

Please sign in to comment.