spanish-quizzer

An app to quiz you on Spanish vocabulary and verb conjugations
git clone https://git.ashermorgan.net/spanish-quizzer/
Log | Files | Refs | README

commit 40209568f1973b09c75efe3e57583e2eb88d6735
parent 16651b37e1b3fda225c352b12fa10623593822e9
Author: ashermorgan <59518073+ashermorgan@users.noreply.github.com>
Date:   Sat, 15 May 2021 17:36:24 -0700

Update xlsx-builder.py

Diffstat:
Mscripts/xlsx-builder.py | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/xlsx-builder.py b/scripts/xlsx-builder.py @@ -22,6 +22,7 @@ def createXlsx(csvPath, xlsxPath): data += [["", "", row[19], row[20], row[21], row[22], row[23]]] # Imperfect data += [["", "", row[25], row[26], row[27], row[28], row[29]]] # Simple Future data += [["", "", row[31], row[32], row[33], row[34], row[35]]] # Present Subjunctive + data += [["", "", row[37], row[38], row[39], row[40], row[41]]] # Imperfect Subjunctive # Create spreadsheet vk = openpyxl.Workbook() @@ -54,10 +55,10 @@ def createXlsx(csvPath, xlsxPath): # Conjugation columns only border.top = thin border.bottom = thin - if row % 5 == 1: + if row % 6 == 1: # Present tense rows only border.top = thick - if row % 5 == 0: + if row % 6 == 0: # Present Subjunctive tense rows only border.bottom = thick border.left = thin