Finalize ZMQ interface
This commit is contained in:
parent
cedac41b10
commit
feb280ed8c
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ context = zmq.Context()
|
|||
|
||||
def process(message):
|
||||
data = json.loads(message)
|
||||
if data['topic'] == 'email:newmail':
|
||||
if data['topic'] == 'email:mail':
|
||||
logger.info('newmail => {}'.format(data))
|
||||
processor.enqueue({'request': 'new_mail', 'data': data})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue