fix: str object not callable (#21227)

This commit is contained in:
Vishal Dhayagude 2020-04-14 11:42:52 +05:30 committed by GitHub
parent 2e3548eb83
commit b1c2f4ef22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,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))