From 0b052ead526eae397451f072502807d5f461020e Mon Sep 17 00:00:00 2001 From: susanodd Date: Thu, 30 May 2024 13:33:56 +0200 Subject: [PATCH] #1238: API update morphology, fixed bug in update. (Hopefully.) --- 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 ff15e080..e8c1df90 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 = [morpheme.morpheme.id + morphemes = [morpheme.id for morpheme in MorphologyDefinition.objects.filter(parent_gloss=gloss)] # the existence of the morphemes in parameter values has already been checked