typo on custom size (#963)
This commit is contained in:
parent
bfc76a08d4
commit
05f7744cba
@ -302,7 +302,7 @@ class TreeDocBase(BaseDoc, TreeDoc):
|
|||||||
name = paper_size.get_name().lower()
|
name = paper_size.get_name().lower()
|
||||||
if name == 'custom size':
|
if name == 'custom size':
|
||||||
width = str(paper_size.get_width())
|
width = str(paper_size.get_width())
|
||||||
height = str(paper_size.get_width())
|
height = str(paper_size.get_height())
|
||||||
paper = 'papersize={%scm,%scm}' % (width, height)
|
paper = 'papersize={%scm,%scm}' % (width, height)
|
||||||
elif name in ('a', 'b', 'c', 'd', 'e'):
|
elif name in ('a', 'b', 'c', 'd', 'e'):
|
||||||
paper = 'ansi' + name + 'paper'
|
paper = 'ansi' + name + 'paper'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user