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 86011559
authored
2020-07-17 16:27:25 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Anti mamadas por exeso de mail 8
1 parent
08c3e4ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
process.py
process.py
View file @
8601155
...
...
@@ -66,6 +66,7 @@ class Process:
print
(
"enviando servicio "
,
serv
)
salio
=
0
rows
=
self
.
conn
.
query
(
"SELECT * FROM msg WHERE state = ? and serv = ? "
,(
States
.
queued
,
serv
))
print
(
"cantidad pendiente "
,
len
(
rows
))
for
query
in
DBconnection
.
parseToTable
(
rows
):
# si no existe la carpeta borrar el mensaje
if
not
os
.
path
.
exists
(
query
[
Table
.
path
]):
...
...
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