Skip to content

Commit

Permalink
Update aeon/dj_pipeline/subject.py
Browse files Browse the repository at this point in the history
Co-authored-by: JaerongA <[email protected]>
  • Loading branch information
ttngu207 and JaerongA authored Nov 1, 2023
1 parent 0ffaa1f commit 1d8095b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aeon/dj_pipeline/subject.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def make(self, key):
"eartag": eartag_or_id,
}
animal_resp = get_pyrat_data(endpoint=f"animals", params=params)
if not animal_resp:
if len(animal_resp) == 0:
if self & key:
self.update1(
{
Expand Down

0 comments on commit 1d8095b

Please sign in to comment.