сhanged concatenation of strings to f-strings to improve readability and unify with the rest of code

This commit is contained in:
eukub
2023-12-28 16:27:36 +03:00
parent 5d83deffa4
commit 5b536d00ab
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ class Device(HID):
report_type = pdu[0] & 0x03
buffer_flag = (pdu[0] & 0x08) >> 3
report_id = pdu[1]
logger.debug("buffer_flag: " + str(buffer_flag))
logger.debug(f"buffer_flag: {buffer_flag}")
if buffer_flag == 1:
buffer_size = (pdu[3] << 8) | pdu[2]
else: