Skip to content

Commit

Permalink
answers don't display if they are just the romaji for romaji test
Browse files Browse the repository at this point in the history
  • Loading branch information
Bikatr7 committed Apr 24, 2024
1 parent 3a0add8 commit e9672d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seisen.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ def test_vocab_romaji() -> None:
vocab_to_test, _ = ScoreRater.get_vocab_to_test(LocalHandler.vocab)

all_testing_material = set([testing_material.value for testing_material in vocab_to_test.testing_material])
first_5_answers = [value.value for value in vocab_to_test.answers[:5]]
first_5_answers = [value.value for value in vocab_to_test.answers[:5] if value.value not in [reading.romaji for reading in vocab_to_test.readings]]

testing_material_string = '/'.join(all_testing_material)

Expand Down

0 comments on commit e9672d1

Please sign in to comment.