Corrección de variable gdoc_sa_json2 a gdoc_sa_json.

This commit is contained in:
mabejoyb
2026-05-13 19:11:37 -03:00
parent dd1a529cdf
commit 33cbdd36b8
13 changed files with 43 additions and 1005 deletions

View File

@@ -491,7 +491,7 @@ def run():
info = _load_json(credentials_json_path)
if not isinstance(info, dict) or info.get("type") != "service_account":
raise RuntimeError("gdoc_sa_json2 debe apuntar a un JSON de cuenta de servicio.")
raise RuntimeError("gdoc_sa_json debe apuntar a un JSON de cuenta de servicio.")
impersonated_user = (impersonated_user or "").strip()
if not impersonated_user:
@@ -1339,9 +1339,9 @@ def run():
# ============================================================
marker = _gvs("gdoc_marker", "TABLA_PROFORMA")
cred_path = _gvs("gdoc_sa_json2", "")
cred_path = _gvs("gdoc_sa_json", "")
if cred_path == "":
raise RuntimeError("Falta gdoc_sa_json2")
raise RuntimeError("Falta gdoc_sa_json")
if not os.path.isabs(cred_path):
cred_path = os.path.join(base_dir, cred_path)
if not os.path.exists(cred_path):