-
-
Notifications
You must be signed in to change notification settings - Fork 215
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Processing email data obtained from WebSockets no longer work in v26
Here is queue:
data = json.loads(response)
if data['Type'] == 'new' and max_q_messages > 0 :
await email_queue.put([lbl, data['Data']])
This is processing:
msg_rec = email_queue.get_nowait()
lbl,data = msg_rec
await hook_run(pit=_GD['PIT_BY_NAM'][lbl], hook=data)
And this is faulty code since I upgraded to v26
async def hook_run(hook: dict, pit: PitInfo):
rcpt = hook['To'] + hook['Cc'] + hook['Bcc']
TypeError: can only concatenate list (not "NoneType") to list
Looks like something changed in To, Cc or Bcc
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working