Browse Source

Autorisation de plusieurs datadir en ligne de commande

pull/45/head
Louis 11 years ago
parent
commit
1d465811ad
  1. 3
      songbook

3
songbook

@ -124,11 +124,10 @@ def main():
datadirs = [os.path.dirname(songbook_path)] datadirs = [os.path.dirname(songbook_path)]
if options.datadir is not None: if options.datadir is not None:
datadirs = [options.datadir[0]].extend(datadirs) datadirs = options.datadir + datadirs
songbook['datadir'] = datadirs songbook['datadir'] = datadirs
try: try:
sb_builder = SongbookBuilder(songbook, basename) sb_builder = SongbookBuilder(songbook, basename)
sb_builder.unsafe = True sb_builder.unsafe = True

Loading…
Cancel
Save