From 61bc9a5731e9b459e8aaf3dbf1f446f13b6331a7 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Mon, 9 Nov 2015 07:41:18 +0100 Subject: [PATCH] move variable declaration --- patacrep/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patacrep/build.py b/patacrep/build.py index 83817d1c..baa335fb 100644 --- a/patacrep/build.py +++ b/patacrep/build.py @@ -232,8 +232,8 @@ class SongbookBuilder(object): raise errors.ExecutableNotFound(compiler) # Test if lilypond compiler is accessible - lilypond_compiler = 'lilypond' if self.songbook.requires_lilypond(): + lilypond_compiler = 'lilypond' try: check_call( [lilypond_compiler, "--version"],