From b3556b4eb9ee6ce24a3bf026b9172f33a32dbe52 Mon Sep 17 00:00:00 2001 From: filak Date: Fri, 9 Feb 2024 01:02:17 +0100 Subject: [PATCH] Update utils.py --- flask-app/application/modules/utils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flask-app/application/modules/utils.py b/flask-app/application/modules/utils.py index 8f81a41..00ba68b 100644 --- a/flask-app/application/modules/utils.py +++ b/flask-app/application/modules/utils.py @@ -396,13 +396,15 @@ def getLookupJson(lookups, export): if rn != '0': d['rn'] = rn #d['xtr'].append(rn) - #terms_en.append(rn) + if export in ['js_parsers']: + terms_en.append(rn) cas = item.get('cas') if cas: d['cas'] = cas #d['xtr'].append(cas) - #terms_en.append(cas) + if export in ['js_parsers']: + terms_en.append(cas) crt = item.get('crt') if crt: