Skip to content

Commit

Permalink
fix fstring in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
TjarkMiener committed Aug 28, 2024
1 parent 48c686b commit 3bae046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctapipe/monitoring/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def second_pass(
for index in faulty_chunks_indices:
# Log information of the faulty chunks
self.log.info(
f"Faulty chunk detected in the first pass at index '{index}'."
"Faulty chunk detected in the first pass at index '%s'.", index
)
# Calculate the start of the slice depending on whether the previous chunk was faulty or not
slice_start = (
Expand Down

0 comments on commit 3bae046

Please sign in to comment.