Update utils_gdmk.py
Browse files- utils_gdmk.py +1 -1
utils_gdmk.py
CHANGED
@@ -23,7 +23,7 @@ headers = {
|
|
23 |
}
|
24 |
|
25 |
def cargar_vocabulario(archivo):
|
26 |
-
with open(
|
27 |
vocabulario = [line.strip() for line in f if line.strip()] # Eliminar espacios y l铆neas vac铆as
|
28 |
return vocabulario
|
29 |
|
|
|
23 |
}
|
24 |
|
25 |
def cargar_vocabulario(archivo):
|
26 |
+
with open(archivo, "r", encoding="utf-8") as f:
|
27 |
vocabulario = [line.strip() for line in f if line.strip()] # Eliminar espacios y l铆neas vac铆as
|
28 |
return vocabulario
|
29 |
|