allow float for back_offset option
This commit is contained in:
parent
1c1b2d5025
commit
90c863a409
@ -589,7 +589,7 @@ class DominionTabs:
|
||||
@staticmethod
|
||||
def parse_opts(argstring):
|
||||
parser = OptionParser()
|
||||
parser.add_option("--back_offset",type="int",dest="back_offset",default=0,
|
||||
parser.add_option("--back_offset",type="float",dest="back_offset",default=0,
|
||||
help="Points to offset the back page to the right; needed for some printers")
|
||||
parser.add_option("--orientation",type="choice",choices=["horizontal","vertical"],dest="orientation",default="horizontal",
|
||||
help="horizontal or vertical, default:horizontal")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user