From cff5b7e22f6ffe7c7211bf7f3133f20080ac91be Mon Sep 17 00:00:00 2001 From: susanodd Date: Thu, 30 May 2024 13:17:47 +0200 Subject: [PATCH] #1238: API morphology, fixed morpheme access. --- signbank/dictionary/update_csv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signbank/dictionary/update_csv.py b/signbank/dictionary/update_csv.py index 288d93ae4..ff15e0802 100644 --- a/signbank/dictionary/update_csv.py +++ b/signbank/dictionary/update_csv.py @@ -16,7 +16,7 @@ def update_sequential_morphology(gloss, values): # machine value of the first component role = 2 - morphemes = [get_default_annotationidglosstranslation(morpheme.morpheme) + morphemes = [morpheme.morpheme.id for morpheme in MorphologyDefinition.objects.filter(parent_gloss=gloss)] # the existence of the morphemes in parameter values has already been checked