diff --git a/songbook.py b/songbook.py index a2b1651c..f3422c9a 100755 --- a/songbook.py +++ b/songbook.py @@ -245,9 +245,8 @@ def main(): else: assert False, "unhandled option" - if cache: - makeCoverCache(os.path.join(songbook_cache_home, 'images')) - elif songbook and output: + makeCoverCache(library, os.path.join(songbook_cache_home, 'images')) + if songbook and output: f = open(songbook) sb = json.load(f) f.close()