From 03c8a23d77261b9e6fe8a1f2253a7f11d5fa70dc Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Fri, 6 Nov 2020 15:34:06 +0530 Subject: [PATCH] style: Trim the fat (whitepsace) --- frappe/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/__init__.py b/frappe/__init__.py index 5e36107310..fac0927428 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -348,7 +348,7 @@ def msgprint(msg, title=None, raise_exception=0, as_table=False, as_list=False, if as_table and type(msg) in (list, tuple): out.as_table = 1 - + if as_list and type(msg) in (list, tuple) and len(msg) > 1: out.as_list = 1