diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2019-09-27 00:22:32 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2019-09-27 00:22:32 +0200 |
commit | d258a6813aa26b94b160374823f5498370e3358d (patch) | |
tree | d761342a2f6182e800533135b5c307d9505dee56 /reversing_tools | |
parent | Make InvalidChecksum parameters and message harder to misunderstand. (diff) | |
download | glucometerutils-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-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 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() |