Concatenate a str to a list

This commit is contained in:
Eric Torres 2019-02-20 16:12:02 -08:00
parent 45aac4e39b
commit fc101fb30b

View File

@ -35,7 +35,7 @@ def retrieve_smart_temp(device_node):
:returns: output of skdump in mKelvin
:rtype: float
"""
temp = subprocess.run(DUMP_CMD + device_node,
temp = subprocess.run(DUMP_CMD + [device_node],
capture_output=True,
text=True).stdout
return float(temp)