fix: frappe.throw in case of list of errors (#16855)
This commit is contained in:
parent
bff95faad7
commit
61223092e0
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue