TEMP_SENSOR_SOC (#25642)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
Giuliano Zaro 2023-04-25 04:51:44 +02:00 committed by Scott Lahteine
parent d1738e946a
commit f5a905a641
22 changed files with 587 additions and 101 deletions

View file

@ -190,7 +190,7 @@ def extract():
elif state == Parse.BLOCK_COMMENT:
# Look for temperature sensors
if cline == "Temperature sensors available:":
if re.match(r'temperature sensors.*:', cline, re.IGNORECASE):
state, cline = Parse.GET_SENSORS, "Temperature Sensors"
options_json, section = use_comment(cline, options_json, section, comment_buff)