Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
message-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit f2d8f6ec
authored
2020-07-17 15:29:38 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Anti mamadas por exeso de mail 3
1 parent
6489590b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
process.py
services.py
process.py
View file @
f2d8f6e
...
...
@@ -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
,))
...
...
services.py
View file @
f2d8f6e
...
...
@@ -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
):
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment