]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/lightcards.py
Only cache stack
[lightcards.git] / lightcards / lightcards.py
index ed1916d371ae9d833af41435772c5ed2680c8a70..596f89644baffd6ad1b614db52b2e982cfb1e0a5 100644 (file)
@@ -56,11 +56,10 @@ def show(args, stack, headers):
         progress.purge_all()
 
     # Check for caches
-    ida = progress.dive(stack)
-    if ida:
-        (idx, stack, headers) = ida
-    else:
-        idx = Status()
+    idx = Status()
+    cache = progress.dive(get_orig())
+    if cache:
+        (stack) = cache
 
     # Manipulate deck
     if args.shuffle: