Commit 0a7b9686 by Tu Nombre

Anti mamadas por exeso de mail 110

1 parent f3fbc675
......@@ -63,9 +63,9 @@ class Process:
self._send("partially delivered","mail")
self.stateMail.MailRompedor = []
def _send(self,serv,state):
def _send(self,state,serv):
salio = 0
rows = self.conn.query("SELECT * FROM msg WHERE state = ? and serv = ? ",(States.queued,serv))
rows = self.conn.query("SELECT * FROM msg WHERE state = ? and serv = ? ",(state,serv))
print("cantidad pendiente ", serv, len(rows))
for query in DBconnection.parseToTable(rows):
# si no existe la carpeta borrar el mensaje
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!