forked from Sysdeploy/idlers-agent
F-string removal
This commit is contained in:
parent
bee43980da
commit
a07225a0eb
2
agent.py
2
agent.py
|
@ -171,7 +171,7 @@ class ServerData:
|
|||
# Get the output of nvme id-ctrl command
|
||||
output = subprocess.check_output(['nvme', 'id-ctrl', device_path], stderr=subprocess.STDOUT, universal_newlines=True)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(f"Failed to get nvme id-ctrl output for {device_path}: {e}")
|
||||
print("Failed to get nvme id-ctrl output for {}: {}".format(device_path, e))
|
||||
continue
|
||||
|
||||
# Split the output into lines
|
||||
|
|
Loading…
Reference in New Issue
Block a user