diff --git a/songbook_core/build.py b/songbook_core/build.py index c4ca638f..4101341b 100755 --- a/songbook_core/build.py +++ b/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', ) ] diff --git a/songbook_core/data/examples/example-all.sb b/songbook_core/data/examples/example-all.sb new file mode 100644 index 00000000..327ed801 --- /dev/null +++ b/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" : "." +}