From 40892469c3f310b2bfaab28271b5124e1417e71c Mon Sep 17 00:00:00 2001 From: Kattykins Date: Sat, 6 Jun 2020 12:49:08 +0100 Subject: [PATCH] Fix Issue 110 Jyutping Failure This at least stops the error message although I still only get less than half the cards returning a Cantonese value --- chinese/behavior.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chinese/behavior.py b/chinese/behavior.py index 6ff2970..8de1a34 100644 --- a/chinese/behavior.py +++ b/chinese/behavior.py @@ -149,7 +149,7 @@ def fill_color(hanzi, note): field_group = 'pinyin' elif config['target'] in 'jyutping': target = 'jyutping' - field_group = 'jyutping' + field_group = 'cantonese' else: raise NotImplementedError(config['target'])