summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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