diff options
-rw-r--r-- | glucometerutils/drivers/fsoptium.py | 2 | ||||
-rwxr-xr-x | reversing_tools/abbott/extract_freestyle.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/glucometerutils/drivers/fsoptium.py b/glucometerutils/drivers/fsoptium.py index 38e3a8e..e1054c1 100644 --- a/glucometerutils/drivers/fsoptium.py +++ b/glucometerutils/drivers/fsoptium.py @@ -91,7 +91,7 @@ class Device(serial.SerialDevice, driver.GlucometerDevice): DEFAULT_CABLE_ID = "1a61:3420" def _send_command(self, command: str) -> Sequence[str]: - cmd_bytes = bytes(f"$%s\r\n" % command, "ascii") + cmd_bytes = bytes("$%s\r\n" % command, "ascii") logging.debug("Sending command: %r", cmd_bytes) self.serial_.write(cmd_bytes) diff --git a/reversing_tools/abbott/extract_freestyle.py b/reversing_tools/abbott/extract_freestyle.py index 0089245..99a15f9 100755 --- a/reversing_tools/abbott/extract_freestyle.py +++ b/reversing_tools/abbott/extract_freestyle.py @@ -119,7 +119,7 @@ def main(): descriptor = session.device_descriptors.get(args.device_address, None) if not descriptor: logging.warning( - f"Unable to find device %s in the capture's descriptors." + "Unable to find device %s in the capture's descriptors." " Assuming non-encrypted protocol.", args.device_address, ) |