Browse Source

Correction d'un bug : Gestion du cas où 'content' est vide.

pull/45/head
Louis 10 years ago
parent
commit
f93f1e52e5
  1. 4
      songbook_core/build.py
  2. 14
      songbook_core/data/examples/example-all.sb

4
songbook_core/build.py

@ -100,11 +100,11 @@ class Songbook(object):
"song",
os.path.relpath(
filename,
os.path.join(self.config['datadir'], 'songs'),
os.path.join(self.config['datadir'][0], 'songs'),
))
for filename
in recursive_find(
os.path.join(self.config['datadir'], 'songs'),
os.path.join(self.config['datadir'][0], 'songs'),
'*.sg',
)
]

14
songbook_core/data/examples/example-all.sb

@ -0,0 +1,14 @@
{
"bookoptions" : [
"importantdiagramonly",
"repeatchords",
"lilypond",
"pictures"
],
"booktype" : "chorded",
"lang" : "french",
"authwords" : {
"sep" : ["and", "et"]
},
"datadir" : "."
}
Loading…
Cancel
Save