fix: Remove the sys.exit()

This commit is contained in:
Alexander Polynomdivision 2018-10-02 13:10:10 +02:00
parent 91dbe0c4b7
commit 18fb797fc9

View File

@ -90,8 +90,8 @@ def csv_to_vocab(filename, type, from_id):
if (row[5] != ""): if (row[5] != ""):
bedeutungen.append(row[5]) bedeutungen.append(row[5])
latin["nominativ_a"] = endung_f latin["endung_f"] = endung_f
latin["nominativ_b"] = endung_n latin["endung_n"] = endung_n
# TODO: Hints and mnemonics # TODO: Hints and mnemonics
vocab.append({ vocab.append({
@ -130,8 +130,6 @@ adj, last_id = csv_to_vocab("Adjektive.csv", TYPE_ADJECTIVES, last_id)
vocab += adj vocab += adj
id = last_id id = last_id
sys.exit(1)
# Connect to the database # Connect to the database
log("Inserting vocabulary into database") log("Inserting vocabulary into database")
log("Connecting...", tabs=1) log("Connecting...", tabs=1)