Commit f2d8f6ec by Tu Nombre

Anti mamadas por exeso de mail 3

1 parent 6489590b
......@@ -88,7 +88,7 @@ class Process:
# parcialmente enviado
elif partial:
self.conn.query("UPDATE msg SET state = ?, type = ? WHERE id = ?",(States.partial,json.dumps(d),query[Table.id]))
self.stateMail.MailRompedor = []
# devuelve el estado de un mensaje, lo archiva si está enviado
def lookup(self,id):
rows = self.conn.query("SELECT * FROM msg WHERE id = ?",(id,))
......
......@@ -155,7 +155,7 @@ class Mail(ServiceBase):
print("ROMPIO ALGO EN EL ENVIO")
stadomail.MailRompedor.append(msg['From'])
succ[file] = False
stadomail.MailRompedor = []
#stadomail.MailRompedor = []
return succ
def Usuario(self, info):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!