fix: str object not callable (#21228)

This commit is contained in:
Vishal Dhayagude
2020-04-14 11:42:22 +05:30
committed by GitHub
parent 8b31e3ec2a
commit 4b1d0d19fb

View File

@@ -108,7 +108,7 @@ def build_forest(data):
error_messages = []
for i in data:
account_name, __, account_number, is_group, account_type, root_type = i
account_name, dummy, account_number, is_group, account_type, root_type = i
if not account_name:
error_messages.append("Row {0}: Please enter Account Name".format(line_no))