|
@ -118,7 +118,10 @@ def main(): |
|
|
if isinstance(songbook['datadir'], basestring): |
|
|
if isinstance(songbook['datadir'], basestring): |
|
|
songbook['datadir'] = [songbook['datadir']] |
|
|
songbook['datadir'] = [songbook['datadir']] |
|
|
datadirs += [ |
|
|
datadirs += [ |
|
|
os.path.join(os.path.dirname(os.path.abspath(songbook_path)), path) |
|
|
os.path.join( |
|
|
|
|
|
os.path.dirname(os.path.abspath(songbook_path)), |
|
|
|
|
|
path |
|
|
|
|
|
) |
|
|
for path in songbook['datadir'] |
|
|
for path in songbook['datadir'] |
|
|
] |
|
|
] |
|
|
if not datadirs: |
|
|
if not datadirs: |
|
|