From 90c863a409d45f9c9085a763b896f6d85c93a5c8 Mon Sep 17 00:00:00 2001 From: Paul Molodowitch Date: Sun, 29 Dec 2013 08:52:54 -0800 Subject: [PATCH] allow float for back_offset option --- dominion_tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dominion_tabs.py b/dominion_tabs.py index 87d3014..4e3964d 100644 --- a/dominion_tabs.py +++ b/dominion_tabs.py @@ -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")