From bfa66dca754afa3c35781db6adf3136f9767dd2d Mon Sep 17 00:00:00 2001 From: Felipe Luis Quezada Valenzuela Date: Fri, 31 Jan 2025 11:50:12 -0300 Subject: [PATCH] #edit defs --- defs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defs.py b/defs.py index 3131147..49c19be 100644 --- a/defs.py +++ b/defs.py @@ -25,7 +25,7 @@ class MISPProcessor: # Para publicar publica = False - stmt = select(ModificadosEv).where(ModificadosEv.evento_uuid == event_uuid, ModificadosEv.attribute_count == int(event_attribute_count)) + stmt = select(ModificadosEv).where(ModificadosEv.evento_uuid == event_uuid, ModificadosEv.attribute_count >= int(event_attribute_count)) existe = session.scalars(stmt).first() if existe: