klippy: Replace deprecated logger.warn with logger.warning (#6385)
Replace deprecated logger.warn with logger.warning logger.warn will be removed in Python 3.13 Signed-off-by: Thijs Triemstra <info@collab.nl>
This commit is contained in:
@@ -62,7 +62,7 @@ class SensorBase:
|
||||
last_read_time = self.mcu.clock_to_print_time(last_read_clock)
|
||||
self._callback(last_read_time, temp)
|
||||
def report_fault(self, msg):
|
||||
logging.warn(msg)
|
||||
logging.warning(msg)
|
||||
|
||||
|
||||
######################################################################
|
||||
|
Reference in New Issue
Block a user