From 4fab93a8b0210e43a97afc530a9f760a28d12a98 Mon Sep 17 00:00:00 2001 From: Master92 Date: Mon, 16 Sep 2019 13:15:23 +0200 Subject: [PATCH] controller_fan: Use snake-case for all variables and function-names Signed-off-by: Nils Friedchen --- klippy/extras/controller_fan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/klippy/extras/controller_fan.py b/klippy/extras/controller_fan.py index 0a1adf7d..81d375f1 100644 --- a/klippy/extras/controller_fan.py +++ b/klippy/extras/controller_fan.py @@ -36,8 +36,8 @@ class ControllerFan: for stepper in self.steppers: active |= stepper.is_motor_enabled() for heater in self.heaters: - _, targetTemp = heater.get_temp(eventtime) - if targetTemp: + _, target_temp = heater.get_temp(eventtime) + if target_temp: active = True if active: self.last_on = 0