]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/runner.py
Implement cache config option
[lightcards.git] / lightcards / runner.py
index 73e275875138b93ec7f9edcd05c767b8312dfe45..3b8737cab801bfe3ec5c46e53a06cd98a9f123ca 100644 (file)
@@ -71,7 +71,7 @@ def show(args, stack, headers, conf):
     # Check for caches
     idx = Status()
     cache = progress.dive(get_orig()[1])
     # Check for caches
     idx = Status()
     cache = progress.dive(get_orig()[1])
-    if cache:
+    if cache and conf["cache"]:
         (stack) = cache
 
     # Manipulate deck
         (stack) = cache
 
     # Manipulate deck