summaryrefslogtreecommitdiffstats
path: root/reversing_tools/abbott/freestyle_hid_console.py
diff options
context:
space:
mode:
Diffstat (limited to 'reversing_tools/abbott/freestyle_hid_console.py')
-rwxr-xr-xreversing_tools/abbott/freestyle_hid_console.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/reversing_tools/abbott/freestyle_hid_console.py b/reversing_tools/abbott/freestyle_hid_console.py
index 5005e4a..654a97c 100755
--- a/reversing_tools/abbott/freestyle_hid_console.py
+++ b/reversing_tools/abbott/freestyle_hid_console.py
@@ -56,12 +56,12 @@ def main():
command = input(">>> ")
else:
command = input()
- print(">>> {command}".format(command=command))
+ print(f">>> {command}")
try:
print(device._send_text_command(bytes(command, "ascii")))
except exceptions.InvalidResponse as error:
- print("! {error}".format(error=error))
+ print(f"! {error}")
if __name__ == "__main__":