diff --git a/patacrep/songbook/__main__.py b/patacrep/songbook/__main__.py index 9daff597..587b1d8d 100644 --- a/patacrep/songbook/__main__.py +++ b/patacrep/songbook/__main__.py @@ -172,10 +172,10 @@ def main(): ) for path in songbook['book']['datadir'] ] + del songbook['book']['datadir'] + # Default value datadirs.append(os.path.dirname(os.path.abspath(songbook_path))) - - del songbook['book']['datadir'] songbook['_datadir'] = datadirs songbook['_cache'] = options.cache[0]