Skip to content
Snippets Groups Projects
Commit 5824c4d6 authored by Mantavya Gajjar's avatar Mantavya Gajjar
Browse files

[FIX]: fix for unwanted message

bzr revid: mga@tinyerp.com-20100430075302-gfspb9w3k2z807cb
parent a056b2ae
No related branches found
No related tags found
No related merge requests found
......@@ -539,7 +539,7 @@ class smtpclient(osv.osv):
sids = queue.search(cr, uid, [('state','not in',['send','sending']), ('server_id','in',ids)], order="priority", limit=30)
message = ""
if len(ids) > 0:
if len(ids) > 1:
message = "sending %s emails from message queuq !" % (len(ids))
logger.notifyChannel('smtp', netsvc.LOG_INFO, message)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment