SergioSCA commited on
Commit
9447239
verified
1 Parent(s): ede6abb

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +4 -4
functions.py CHANGED
@@ -6,10 +6,10 @@ import matplotlib.pyplot as plt
6
 
7
  # Funci贸n para cargar modalidades y tareas desde un archivo JSON
8
  def cargar_modalidades_tareas():
9
- try:
10
- with open("modalidades_tareas.json", "r") as file:
11
- MODALIDAD_TAREAS = json.load(file)
12
- return MODALIDAD_TAREAS
13
  #except FileNotFoundError:
14
  # raise ValueError("El archivo 'modalidades_tareas.json' no se encontr贸. Aseg煤rate de que existe en el directorio correcto.") <button class="citation-flag" data-index="9">
15
  #except json.JSONDecodeError:
 
6
 
7
  # Funci贸n para cargar modalidades y tareas desde un archivo JSON
8
  def cargar_modalidades_tareas():
9
+ #try:
10
+ with open("modalidades_tareas.json", "r") as file:
11
+ MODALIDAD_TAREAS = json.load(file)
12
+ return MODALIDAD_TAREAS
13
  #except FileNotFoundError:
14
  # raise ValueError("El archivo 'modalidades_tareas.json' no se encontr贸. Aseg煤rate de que existe en el directorio correcto.") <button class="citation-flag" data-index="9">
15
  #except json.JSONDecodeError: