summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorTomasz Boczkowski <penginsbacon@gmail.com>2015-05-17 09:20:36 +0000
committerTomasz Boczkowski <penginsbacon@gmail.com>2015-05-17 09:20:36 +0000
commit447b1bcfc29b92f76a9788f5b71dff96ee632b80 (patch)
treeb57b369ec150bcd6242372bd6cbd6b289a5c8902 /share
parentmerged trunk (diff)
parentFix attributes unit test. (diff)
downloadinkscape-447b1bcfc29b92f76a9788f5b71dff96ee632b80.tar.gz
inkscape-447b1bcfc29b92f76a9788f5b71dff96ee632b80.zip
merged trunk
(bzr r14059.1.27)
Diffstat (limited to 'share')
-rwxr-xr-xshare/extensions/layout_nup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/layout_nup.py b/share/extensions/layout_nup.py
index 20532f72a..266a3950d 100755
--- a/share/extensions/layout_nup.py
+++ b/share/extensions/layout_nup.py
@@ -106,7 +106,7 @@ class Nup(inkex.Effect):
if len(x) != length:
raise Exception("expandTuple: requires 2 or 4 item tuple")
try:
- return tuple(map(lambda ev: (self.unittouu(str(eval(str(ev)))+unit)), x))
+ return tuple(map(lambda ev: (self.unittouu(str(eval(str(ev)))+unit)/self.unittouu('1px')), x))
except:
return None