From 94567184565c184f7593d90ad6c845c30d4123e0 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Fri, 3 Feb 2017 11:33:57 +0100 Subject: Modified gedit syntax file to work with flashcard extension (.flc) --- flashcards | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flashcards') 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(): -- cgit v1.2.3