]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.4.3
authorfred <fred>
Wed, 27 Mar 2002 01:19:44 +0000 (01:19 +0000)
committerfred <fred>
Wed, 27 Mar 2002 01:19:44 +0000 (01:19 +0000)
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