style: remove trailing whitespace (#38183)

This commit is contained in:
Raffael Meyer 2023-11-18 18:45:14 +01:00 committed by GitHub
parent a1ff7cab7e
commit ff5b1b7ded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -633,7 +633,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(
{
@ -648,7 +648,7 @@ def make_contact(args, is_primary_contact=1):
"company_name": args.get(party_name_key),
}
)
contact = frappe.get_doc(values)
if args.get("email_id"):