chore: linting issues

This commit is contained in:
Deepesh Garg 2023-11-19 19:20:06 +05:30 committed by GitHub
parent 2b9448962f
commit c29bc8c97f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -648,7 +648,7 @@ def make_contact(args, is_primary_contact=1):
party_type = args.customer_type if args.doctype == "Customer" else args.supplier_type
party_name_key = "customer_name" if args.doctype == "Customer" else "supplier_name"
if party_type == "Individual":
if party_type == "Individual":
first, middle, last = parse_full_name(args.get(party_name_key))
values.update(
{