mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 14:44:20 -06:00
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:
parent
3f8f30d612
commit
4688c21c54
6 changed files with 19 additions and 16 deletions
|
@ -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)
|
||||
|
||||
|
||||
######################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue