From 67445f7ebdc5edad3866d7c14db0f18cdf866669 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 12 May 2008 14:55:25 +0000 Subject: [PATCH] allow float lengths back --- share/extensions/addnodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/extensions/addnodes.py b/share/extensions/addnodes.py index af59a0d67..b12f440d7 100644 --- a/share/extensions/addnodes.py +++ b/share/extensions/addnodes.py @@ -70,7 +70,7 @@ class SplitIt(inkex.Effect): dest="segments", default=2, help="Number of segments to divide the path into") self.OptionParser.add_option("--max", - action="store", type="int", + action="store", type="float", dest="max", default=2, help="Number of segments to divide the path into") self.OptionParser.add_option("--method", -- 2.30.2