summaryrefslogtreecommitdiffstats
path: root/flashcards
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2017-02-03 11:33:57 +0100
committerEduardo Pedroni <e.pedroni91@gmail.com>2017-02-03 11:33:57 +0100
commit94567184565c184f7593d90ad6c845c30d4123e0 (patch)
tree1fa09dc0fd0ef57e026af7dd2a18b750b690c67c /flashcards
parent9d45ae4034d1ef7999a598f6a5b2433632e92ed6 (diff)
Modified gedit syntax file to work with flashcard extension (.flc)
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():