proyecto actualizado con la nueva versión de validación sunat para ser instalado como servicio windows con nssm

This commit is contained in:
George committed 2026-07-31 22:35:50 -05:00
1 parent fb54dbb281
commit cfb6e5ce52
5 files changed
+5 -9

No files matched your search

+2 -5
View File
@@ -1,12 +1,9 @@
__pycache__/
.venv/
venv/
env/
validar-venv/
logs/
.env.dev
.env
.DS
.env
.env.*
.DS_Store
.vscode/
+1 -1
View File
@@ -14,7 +14,7 @@ from constants import TABLAS, ESTADOS_COMPROBANTE, ESTADOS_CONTRIBUYENTE, CONDIC
# ============================================================================
# Cargar variables de entorno desde .env
load_dotenv(dotenv_path=".env.dev")
load_dotenv(dotenv_path=".env")
# Configuración de la API
HANA_HOST = os.getenv("HANA_HOST", "")
+1 -1
View File
@@ -265,7 +265,7 @@ def main():
log_path = logger_utilities.setup_logger()
logger_utilities.limpiar_logs_antiguos(dias=7)
load_dotenv(dotenv_path=".env.dev")
load_dotenv(dotenv_path=".env")
print("=" * 60)
print("🚀 Demonio iniciado")
-1
View File
@@ -1,6 +1,5 @@
certifi==2026.6.17
charset-normalizer==3.4.9
dotenv==0.9.9
hdbcli==2.29.23
idna==3.18
python-dotenv==1.2.2
+1 -1
View File
@@ -15,7 +15,7 @@ from dotenv import load_dotenv
urllib3.disable_warnings()
load_dotenv(dotenv_path=".env.dev")
load_dotenv(dotenv_path=".env")
SAPB1_URL = os.getenv("SAP_B1_URL", "")
SAPB1_TIMEOUT = float(os.getenv("SAP_B1_TIMEOUT", 15.0))