Concatenate a str to a list
This commit is contained in:
parent
45aac4e39b
commit
fc101fb30b
@ -35,7 +35,7 @@ def retrieve_smart_temp(device_node):
|
|||||||
:returns: output of skdump in mKelvin
|
:returns: output of skdump in mKelvin
|
||||||
:rtype: float
|
:rtype: float
|
||||||
"""
|
"""
|
||||||
temp = subprocess.run(DUMP_CMD + device_node,
|
temp = subprocess.run(DUMP_CMD + [device_node],
|
||||||
capture_output=True,
|
capture_output=True,
|
||||||
text=True).stdout
|
text=True).stdout
|
||||||
return float(temp)
|
return float(temp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user