Fix some words not shown シ

This commit is contained in:
jojii 2021-02-24 20:09:59 +01:00
parent 3457b3d9cf
commit 51364bb9f7
2 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ fn print_item(query: &str, value: &Value) -> Option<()> {
.map(|i| value_to_str(i))
.unwrap_or(query);
let word = value_to_str(japanese.get("word")?);
let word = value_to_str(japanese.get("word").unwrap_or(japanese.get("reading")?));
println!("{}[{}] {}", word, reading, format_result_tags(value));