diff --git a/hc/payments/invoices.py b/hc/payments/invoices.py index 5b832b9c..9acc5f3a 100644 --- a/hc/payments/invoices.py +++ b/hc/payments/invoices.py @@ -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):