From a07225a0eb4798ac3571b7bee24298d3c94ac554 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Fri, 5 Jul 2024 23:24:00 +0800 Subject: [PATCH] F-string removal --- agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent.py b/agent.py index c9fef42..128b4d0 100644 --- a/agent.py +++ b/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