Bläddra i källkod

Fix summary for Python 2

master
Pavel Šimerda 8 år sedan
förälder
incheckning
99ff03f2d1
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. +3
    -3
      lib/invoice/cli.py

+ 3
- 3
lib/invoice/cli.py Visa fil

@@ -105,9 +105,9 @@ class Application:
paid += data.sum paid += data.sum


print() print()
print("Total: {:6}".format(total))
print("Paid: {:6}".format(paid))
print("Unpaid: {:6}".format(total-paid))
print("Total: {0:6}".format(total))
print("Paid: {0:6}".format(paid))
print("Unpaid: {0:6}".format(total-paid))


def do_new(self, company_name): def do_new(self, company_name):
"""Create and edit a new invoice.""" """Create and edit a new invoice."""


Laddar…
Avbryt
Spara