From 7dc0a402f69d478526526baaf93eed45e16cd16a Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Sun, 6 Jan 2013 13:43:47 +0100 Subject: [PATCH] force caching mechanism --- songbook.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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()