Browse Source

Simplify lilypond check

pull/184/head
Oliverpool 9 years ago
parent
commit
1c4b48c9e7
  1. 4
      patacrep/build.py

4
patacrep/build.py

@ -148,9 +148,7 @@ class Songbook:
def requires_lilypond(self): def requires_lilypond(self):
"""Tell if lilypond is part of the bookoptions""" """Tell if lilypond is part of the bookoptions"""
return ('chords' in self._config return 'lilypond' in iter_bookoptions(self._config)
and 'lilypond' in self._config['chords']
and self._config['chords']['lilypond'])
def _log_pipe(pipe): def _log_pipe(pipe):
"""Log content from `pipe`.""" """Log content from `pipe`."""

Loading…
Cancel
Save