summaryrefslogtreecommitdiffstats
path: root/reversing_tools/abbott
diff options
context:
space:
mode:
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 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()