Skip to content

Commit

Permalink
Update c2_pub_sub.py
Browse files Browse the repository at this point in the history
  • Loading branch information
robotastic committed Jun 7, 2024
1 parent 8b91455 commit a154a75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skyscan-c2/c2_pub_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,10 +485,10 @@ def _target_selection_callback(
]
selection_df = selection_df.sort_values(by="age", ascending=True)
if not selection_df.empty:
logging.info(f"Selecting Override object: {self.override_object}")
logging.debug(f"Selecting Override object: {self.override_object}")
self.tracked_object = selection_df.iloc[0]
else:
logging.error(f"Override object {self.override_object} not found in Ledger")
logging.info(f"Override object {self.override_object} not found in Ledger, clearing override object")
self.tracked_object = None
self.override_object = None
else:
Expand Down

0 comments on commit a154a75

Please sign in to comment.