fix: frappe.throw in case of list of errors (#16855)

This commit is contained in:
Saqib Ansari 2022-05-09 18:42:54 +05:30 committed by GitHub
parent bff95faad7
commit 61223092e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -435,7 +435,7 @@ def msgprint(
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:
if as_list and type(msg) in (list, tuple):
out.as_list = 1
if flags.print_messages and out.message: