]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/lilypond-book.py
release: 1.4.3
[lilypond.git] / scripts / lilypond-book.py
index 8b560e8959eb26ad81dc7f3c8c87c0996023752b..a9e53567ec1ddfae05e063388c750aca8cbd4f96 100644 (file)
@@ -192,7 +192,7 @@ class LatexPaper:
        def __setattr__(self, name, value):
                if type(value) == type("") and \
                   dimension_conversion_dict.has_key (value[-2:]):
-                       f = dimension_conversion_dict[dim]
+                       f = dimension_conversion_dict[value[-2:]]
                        self.__dict__[name] = f(float(value[:-2]))
                else:
                        self.__dict__[name] = value