From b6c56ff94f7035581ec35b318d4a07326c8c4e73 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Wed, 19 Jun 2019 11:18:57 +0530 Subject: [PATCH] fix(postres): Pass tuple of all_ids instead of an array - Fixes failing build for postgres --- frappe/email/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/email/queue.py b/frappe/email/queue.py index b671dc91d8..6b6b006670 100755 --- a/frappe/email/queue.py +++ b/frappe/email/queue.py @@ -80,7 +80,7 @@ def send(recipients=None, sender=None, subject=None, message=None, text_content= recipients = list(set(recipients)) cc = list(set(cc)) - all_ids = recipients + cc + all_ids = tuple(recipients + cc) unsubscribed = frappe.db.sql_list(''' SELECT