Fix some words not shown シ
This commit is contained in:
parent
3457b3d9cf
commit
51364bb9f7
2 changed files with 3 additions and 3 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue