Skip to content

Commit 834779d

Browse files
authored
improve logger warning formatting
1 parent 9aaa916 commit 834779d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pyFAI/detectors/_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
__contact__ = "Jerome.Kieffer@ESRF.eu"
3434
__license__ = "MIT"
3535
__copyright__ = "European Synchrotron Radiation Facility, Grenoble, France"
36-
__date__ = "27/01/2026"
36+
__date__ = "30/01/2026"
3737
__status__ = "stable"
3838

3939
import logging
@@ -264,7 +264,7 @@ def __init__(self,
264264

265265
if isinstance(sensor, SensorConfig):
266266
if sensor not in self.SENSORS:
267-
logger.warning("Sensor %s not in allowed SENSORS: [%s].", sensor, "|".join([str(i) for i in self.SENSORS]))
267+
logger.warning("Sensor %s not in allowed SENSORS: [%s].", sensor, "|".join(str(i) for i in self.SENSORS))
268268
self.sensor = sensor
269269
elif sensor is None:
270270
logger.info("No sensor configuration provided; using default behaviour.")

0 commit comments

Comments
 (0)