Spaces:
Running
Running
Entré a configcreator
Browse files- config_creator.py +3 -1
config_creator.py
CHANGED
@@ -3,9 +3,11 @@ import json
|
|
3 |
|
4 |
def creaConfigFirestore():
|
5 |
|
|
|
|
|
6 |
# Paso 1: Obtener la variable de entorno
|
7 |
firestore_config_str = os.getenv('configuracion')
|
8 |
-
os.makedirs(os.path.dirname("archivos/config.json"), exist_ok=True)
|
9 |
|
10 |
if firestore_config_str is None:
|
11 |
print("Error: La variable de entorno 'configuracion' no está definida.")
|
|
|
3 |
|
4 |
def creaConfigFirestore():
|
5 |
|
6 |
+
print("Entré a creaConfigFirestore...")
|
7 |
+
|
8 |
# Paso 1: Obtener la variable de entorno
|
9 |
firestore_config_str = os.getenv('configuracion')
|
10 |
+
#os.makedirs(os.path.dirname("archivos/config.json"), exist_ok=True)
|
11 |
|
12 |
if firestore_config_str is None:
|
13 |
print("Error: La variable de entorno 'configuracion' no está definida.")
|