X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fmusicxml2ly.py;h=a1faae56ce04b98bbf980354bef71a83bdb9a222;hb=6676553f94d1224a9956a43b4b5a3e4777bb47ce;hp=7c5dc69c1a749a67531a4df0dfe82d1ca7202429;hpb=42b6a1852760ac7f46ce894e82a64bbe6c2cff70;p=lilypond.git diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index 7c5dc69c1a..a1faae56ce 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -24,6 +24,8 @@ import musicexp from rational import Rational +lilypond_version = "@TOPLEVEL_VERSION@" + # Store command-line options in a global variable, so we can access them everywhere options = None @@ -3217,8 +3219,6 @@ def get_existing_filename_with_extension(filename, ext): def main(): - global lilypond_version - lilypond_version = "@TOPLEVEL_VERSION@" opt_parser = option_parser() global options