forked from GithubBackups/healthchecks
One more py2 fix
This commit is contained in:
parent
4850c9ff03
commit
4e04641c38
@ -14,8 +14,7 @@ def f(dt):
|
|||||||
|
|
||||||
class PdfInvoice(canvas.Canvas):
|
class PdfInvoice(canvas.Canvas):
|
||||||
def __init__(self, fileobj):
|
def __init__(self, fileobj):
|
||||||
super(PdfInvoice, self).__init__(fileobj, pagesize=A4,
|
canvas.Canvas.__init__(self, fileobj, pagesize=A4, pageCompression=0)
|
||||||
pageCompression=0)
|
|
||||||
self.head_y = H - inch * 0.5
|
self.head_y = H - inch * 0.5
|
||||||
|
|
||||||
def linefeed(self):
|
def linefeed(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user