Skip to content

Commit b4317d5

Browse files
reesolve lint
1 parent c14edf9 commit b4317d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fyle_accounting_mappings/models.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,9 @@ def bulk_create_or_update_destination_attributes(
426426
else:
427427
condition = (attribute['value'] and primary_key_map[attribute['destination_id']]['value']
428428
and attribute['value'].lower() != primary_key_map[attribute['destination_id']]['value'].lower()) \
429-
or ('code' in attribute and attribute['code']
429+
or ('code' in attribute and attribute['code']
430430
and attribute['code'] != primary_key_map[attribute['destination_id']]['code'])
431-
431+
432432
if attribute_disable_callback_path and is_import_to_fyle_enabled and condition:
433433
attributes_to_disable[attribute['destination_id']] = {
434434
'value': primary_key_map[attribute['destination_id']]['value'],
@@ -438,11 +438,11 @@ def bulk_create_or_update_destination_attributes(
438438
}
439439

440440
condition = (attribute['value'] != primary_key_map[attribute['destination_id']]['value']) \
441-
or ('detail' in attribute and
441+
or ('detail' in attribute and
442442
attribute['detail'] != primary_key_map[attribute['destination_id']]['detail']) \
443-
or ('active' in attribute and
443+
or ('active' in attribute and
444444
attribute['active'] != primary_key_map[attribute['destination_id']]['active']) \
445-
or ('code' in attribute and
445+
or ('code' in attribute and
446446
attribute['code'] and attribute['code'] != primary_key_map[attribute['destination_id']]['code']) \
447447

448448
if update and condition:

0 commit comments

Comments
 (0)