From cc886ba2b3e0a4937ed83c4f4075f61b738aff1e Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Tue, 11 Nov 2008 23:06:35 +0100 Subject: [PATCH] MusicXML: Only print out the bar number if we really have a bar number --- python/musicexp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/musicexp.py b/python/musicexp.py index df54f70106..f049884c30 100644 --- a/python/musicexp.py +++ b/python/musicexp.py @@ -805,7 +805,7 @@ class BarLine (Music): if self.bar_number > 0 and (self.bar_number % 10) == 0: printer.dump ("\\barNumberCheck #%d " % self.bar_number) - else: + elif self.bar_number > 0: printer.print_verbatim (' %% %d' % self.bar_number) printer.newline () -- 2.39.2