Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Jun 27, 2023
1 parent 7a7039f commit 029fd70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/mappings/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def save_cloned(self):

def index_from_concept(self):
if self.from_concept_id:
batch_index_resources(
batch_index_resources( # pylint: disable=expression-not-assigned
'concepts', {'versioned_object_id': self.from_concept.versioned_object_id}
) if get(settings, 'TEST_MODE', False) else batch_index_resources.delay(
'concepts', {'versioned_object_id': self.from_concept.versioned_object_id}
Expand Down

0 comments on commit 029fd70

Please sign in to comment.