summaryrefslogtreecommitdiffstats
path: root/reversing_tools
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2019-09-27 00:22:32 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2019-09-27 00:22:32 +0200
commitd258a6813aa26b94b160374823f5498370e3358d (patch)
treed761342a2f6182e800533135b5c307d9505dee56 /reversing_tools
parentMake InvalidChecksum parameters and message harder to misunderstand. (diff)
downloadglucometerutils-d258a6813aa26b94b160374823f5498370e3358d.tar
glucometerutils-d258a6813aa26b94b160374823f5498370e3358d.tar.gz
glucometerutils-d258a6813aa26b94b160374823f5498370e3358d.tar.bz2
glucometerutils-d258a6813aa26b94b160374823f5498370e3358d.tar.lz
glucometerutils-d258a6813aa26b94b160374823f5498370e3358d.tar.xz
glucometerutils-d258a6813aa26b94b160374823f5498370e3358d.tar.zst
glucometerutils-d258a6813aa26b94b160374823f5498370e3358d.zip
Diffstat (limited to '')
-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 908fb4e..4697da9 100755
--- a/reversing_tools/abbott/freestyle_hid_console.py
+++ b/reversing_tools/abbott/freestyle_hid_console.py
@@ -41,12 +41,12 @@ def main():
command = input('>>> ')
else:
command = input()
- print(f'>>> {command}')
+ print('>>> {command}'.format(command=command))
try:
print(device._send_text_command(bytes(command, 'ascii')))
except exceptions.InvalidResponse as error:
- print(f'! {error}')
+ print('! {error}'.format(error=error))
if __name__ == "__main__":
main()