Remove pylint warning from sensors

This commit is contained in:
2Shirt 2022-04-06 16:23:44 -06:00
parent 46eb737dc8
commit f79e578aaf
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -152,12 +152,11 @@ class Sensors():
sleep(0.5)
def save_average_temps(self, temp_label, seconds=10):
# pylint: disable=unused-variable
"""Save average temps under temp_label over provided seconds.."""
self.clear_temps()
# Get temps
for i in range(seconds):
for _ in range(seconds):
self.update_sensor_data(exit_on_thermal_limit=False)
sleep(1)