Commit c0e4da59 by Tu Nombre

se pone temporisador al server

1 parent bbbee37a
......@@ -64,7 +64,7 @@ class Process:
self.stateMail.MailRompedor = []
def _send(self,state,serv):
fin = datetime.datetime.now() + datetime.datetime.timedelta(seconds=15)
fin = datetime.datetime.now() + datetime.timedelta(seconds=15)
rows = self.conn.query("SELECT * FROM msg WHERE state = ? and serv = ? ",(state,serv))
if not len(rows) == 0:
print("cantidad pendiente ", serv, len(rows))
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!