]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/runner.py
Fix pickle implementation
[lightcards.git] / lightcards / runner.py
index 2fa42f49e6cc214c92b82d2d1ea8a76fc825acb9..0d01ca16b8df467b0899e646d75d2485de6a001b 100644 (file)
@@ -13,6 +13,7 @@ from .deck import Status
 
 
 def parse_args():
+    """Parse command line arguments"""
     parser = argparse.ArgumentParser(
         description="Terminal flashcards from Markdown"
     )
@@ -55,7 +56,7 @@ def show(args, stack, headers):
 
     # Check for caches
     idx = Status()
-    cache = progress.dive(get_orig())
+    cache = progress.dive(get_orig()[1])
     if cache:
         (stack) = cache