summaryrefslogtreecommitdiffstats
path: root/flashcards
diff options
context:
space:
mode:
Diffstat (limited to 'flashcards')
-rwxr-xr-xflashcards2
1 files changed, 1 insertions, 1 deletions
diff --git a/flashcards b/flashcards
index 1cbcfc6..dae46f1 100755
--- a/flashcards
+++ b/flashcards
@@ -6,7 +6,7 @@ from pathlib import Path
from random import shuffle
cardRegex = "CARD: "
-prefixLength = 6
+prefixLength = len(cardRegex)
# Returns a list of Path objects, containing the path to each valid file provided
def getFileList():