Skip to content

Commit

Permalink
Fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Ale-Coeto committed Jan 3, 2025
1 parent 55a0272 commit e08257f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision/vision_general/scripts/face_recognition_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def run(self) -> None:

# If not a tracked face, then it needs to be processed (compare to known faces)
if not flag:
if face_encodings == None:
if face_encodings is None:
face_encodings = face_recognition.face_encodings(resized_frame, face_locations)

face_encoding = face_encodings[i]
Expand Down

0 comments on commit e08257f

Please sign in to comment.