globals().update(locals()) antes de los SCOPES + Antes del Main / Refactor code structure for improved readability and maintainability
This commit is contained in:
BIN
__pycache__/agregar_planos.cpython-314.pyc
Normal file
BIN
__pycache__/agregar_planos.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/duplicar_plantilla_contrato.cpython-314.pyc
Normal file
BIN
__pycache__/duplicar_plantilla_contrato.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/envio_contrato_docs_email.cpython-314.pyc
Normal file
BIN
__pycache__/envio_contrato_docs_email.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/formas_de_pagocpython-314.pyc
Normal file
BIN
__pycache__/formas_de_pagocpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/parrafos_dinamicos_forma_pago.cpython-314.pyc
Normal file
BIN
__pycache__/parrafos_dinamicos_forma_pago.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/plan_de_pago_contado.cpython-314.pyc
Normal file
BIN
__pycache__/plan_de_pago_contado.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/reemplazar_variables_contrato.cpython-314.pyc
Normal file
BIN
__pycache__/reemplazar_variables_contrato.cpython-314.pyc
Normal file
Binary file not shown.
@@ -166,4 +166,8 @@ pdf_data = export_doc_as_pdf(drive_service, DOC_ID)
|
|||||||
result = send_email(gmail_service, to_emails, SUBJECT,
|
result = send_email(gmail_service, to_emails, SUBJECT,
|
||||||
BODY_TEXT, pdf_data, pdf_filename)
|
BODY_TEXT, pdf_data, pdf_filename)
|
||||||
print('Mensaje enviado. ID:', result.get('id'))
|
print('Mensaje enviado. ID:', result.get('id'))
|
||||||
SetVar('res_envio', True)
|
|
||||||
|
try:
|
||||||
|
SetVar('res_envio', True)
|
||||||
|
except NameError:
|
||||||
|
pass
|
||||||
|
|||||||
1838
formas_de_pago.py
Normal file
1838
formas_de_pago.py
Normal file
File diff suppressed because it is too large
Load Diff
@@ -528,6 +528,8 @@ def _resolve_google_scopes():
|
|||||||
|
|
||||||
return [s.strip("'\"")]
|
return [s.strip("'\"")]
|
||||||
|
|
||||||
|
# Rocketbot quirk FIX
|
||||||
|
globals().update(locals())
|
||||||
|
|
||||||
SCOPES = _resolve_google_scopes()
|
SCOPES = _resolve_google_scopes()
|
||||||
|
|
||||||
@@ -922,11 +924,9 @@ def replace_marker_by_index(
|
|||||||
"text": replacement_text or "",
|
"text": replacement_text or "",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Rocketbot quirk FIX temprano
|
||||||
# Rocketbot quirk FIX
|
|
||||||
globals().update(locals())
|
globals().update(locals())
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# MAIN
|
# MAIN
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user