From d4afe75e7ed9a09d24f4904cd1bbf845e63141d3 Mon Sep 17 00:00:00 2001 From: Achilles Rasquinha Date: Thu, 29 Mar 2018 11:14:52 +0530 Subject: [PATCH] return immutable --- frappe/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/database.py b/frappe/database.py index 96e8f3f645..4aa98df665 100644 --- a/frappe/database.py +++ b/frappe/database.py @@ -567,7 +567,7 @@ class Database: batch.append(tuple([field, value])) - return batch + return tuple(batch) def get_singles_dict(self, doctype, debug = False): """Get Single DocType as dict.