summaryrefslogtreecommitdiffstats
path: root/reversing_tools/abbott
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-03-14 19:13:55 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2020-03-14 19:13:55 +0100
commit9fb0f80e84f752e3b3c4ae5e1071a6edcbf56b94 (patch)
treeebb59348f88a455cdc06b87aa8da821637dc4e55 /reversing_tools/abbott
parentExpand line length in Emacs to match black. (diff)
downloadglucometerutils-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-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__":