Update modules/studentact/current_situation_interface.py
Browse files
modules/studentact/current_situation_interface.py
CHANGED
|
@@ -73,6 +73,9 @@ TEXT_TYPES = {
|
|
| 73 |
}
|
| 74 |
}
|
| 75 |
|
|
|
|
|
|
|
|
|
|
| 76 |
####################################################
|
| 77 |
####################################################
|
| 78 |
def display_current_situation_interface(lang_code, nlp_models, t):
|
|
@@ -83,7 +86,7 @@ def display_current_situation_interface(lang_code, nlp_models, t):
|
|
| 83 |
current_situation_t = t.get('CURRENT_SITUATION', {})
|
| 84 |
|
| 85 |
# Obtener traducciones para tipos de texto
|
| 86 |
-
text_types_translations = {}
|
| 87 |
#if 'RECOMMENDATIONS' in t and lang_code in t['RECOMMENDATIONS']:
|
| 88 |
# text_types_translations = t['RECOMMENDATIONS'][lang_code]['text_types']
|
| 89 |
|
|
|
|
| 73 |
}
|
| 74 |
}
|
| 75 |
|
| 76 |
+
logger.info(f"CURRENT_SITUATION en t: {t.get('CURRENT_SITUATION', 'No existe')}")
|
| 77 |
+
logger.info(f"Estructura completa de t: {t}")
|
| 78 |
+
|
| 79 |
####################################################
|
| 80 |
####################################################
|
| 81 |
def display_current_situation_interface(lang_code, nlp_models, t):
|
|
|
|
| 86 |
current_situation_t = t.get('CURRENT_SITUATION', {})
|
| 87 |
|
| 88 |
# Obtener traducciones para tipos de texto
|
| 89 |
+
#text_types_translations = {}
|
| 90 |
#if 'RECOMMENDATIONS' in t and lang_code in t['RECOMMENDATIONS']:
|
| 91 |
# text_types_translations = t['RECOMMENDATIONS'][lang_code]['text_types']
|
| 92 |
|