Browse Source

One more py2 fix

pull/143/head
Pēteris Caune 7 years ago
parent
commit
4e04641c38
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      hc/payments/invoices.py

+ 1
- 2
hc/payments/invoices.py View File

@ -14,8 +14,7 @@ def f(dt):
class PdfInvoice(canvas.Canvas):
def __init__(self, fileobj):
super(PdfInvoice, self).__init__(fileobj, pagesize=A4,
pageCompression=0)
canvas.Canvas.__init__(self, fileobj, pagesize=A4, pageCompression=0)
self.head_y = H - inch * 0.5
def linefeed(self):


Loading…
Cancel
Save