diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2020-03-14 19:13:55 +0100 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2020-03-14 19:13:55 +0100 |
commit | 9fb0f80e84f752e3b3c4ae5e1071a6edcbf56b94 (patch) | |
tree | ebb59348f88a455cdc06b87aa8da821637dc4e55 /reversing_tools/abbott | |
parent | Expand line length in Emacs to match black. (diff) | |
download | glucometerutils-9fb0f80e84f752e3b3c4ae5e1071a6edcbf56b94.tar glucometerutils-9fb0f80e84f752e3b3c4ae5e1071a6edcbf56b94.tar.gz glucometerutils-9fb0f80e84f752e3b3c4ae5e1071a6edcbf56b94.tar.bz2 glucometerutils-9fb0f80e84f752e3b3c4ae5e1071a6edcbf56b94.tar.lz glucometerutils-9fb0f80e84f752e3b3c4ae5e1071a6edcbf56b94.tar.xz glucometerutils-9fb0f80e84f752e3b3c4ae5e1071a6edcbf56b94.tar.zst glucometerutils-9fb0f80e84f752e3b3c4ae5e1071a6edcbf56b94.zip |
Diffstat (limited to 'reversing_tools/abbott')
-rwxr-xr-x | reversing_tools/abbott/freestyle_hid_console.py | 4 |
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__": |