Add more data
Also renamed some of the files and had to change some code to account for the new names.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from flashcards.maps import create_maps, read_data_to_dict
|
||||
from flashcards.maps import create_maps, read_name_data_to_dict
|
||||
from flashcards.models import simple
|
||||
from flashcards.random import random_anki_identifier
|
||||
from flashcards.config import config
|
||||
@@ -52,7 +52,7 @@ def create_deck_from_functions(namelist,
|
||||
deck_name,
|
||||
deck_fname):
|
||||
# read in data
|
||||
data = read_data_to_dict(data_json_key)
|
||||
data = read_name_data_to_dict(data_json_key)
|
||||
|
||||
# create maps between names and numbers based on namelist
|
||||
names, _ = create_maps(namelist, data_json_key)
|
||||
|
||||
Reference in New Issue
Block a user