Fixing bug that triggers when a Kanji character has no kun-yomi or
on-yomi.
This commit is contained in:
parent
630024a2fc
commit
71f2e0ff67
@ -17,5 +17,5 @@
|
||||
|
||||
|
||||
c = {
|
||||
'appVersion': '0.20b',
|
||||
'appVersion': '0.21b',
|
||||
}
|
||||
|
@ -84,8 +84,8 @@ class Dictionary:
|
||||
return {
|
||||
'id': kanjiId,
|
||||
'character': character,
|
||||
'kunyomi': kunyomi.split(),
|
||||
'onyomi': onyomi.split(),
|
||||
'kunyomi': [] if kunyomi is None else kunyomi.split(),
|
||||
'onyomi': [] if onyomi is None else onyomi.split(),
|
||||
'glossary': glossary
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user