Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update source/brailleDisplayDrivers/eurobraille/driver.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
LeonarddeR and coderabbitai[bot] authored Dec 30, 2024
commit 3a485cd46f3530b3137f6a1b0ced49e8938e0a6f
2 changes: 1 addition & 1 deletion source/brailleDisplayDrivers/eurobraille/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def __init__(self, port="Auto"):
port=port,
),
)
if self.ProtocolType.startswith(("bnote", "bbook")):
if self.deviceType.startswith(("bnote", "bbook")):
# send identifier to bnote / bbook with current COM port
comportNumber = f'{int(re.match(".*?([0-9]+)$", port).group(1)):02d}'
identifier = f"NVDA/{comportNumber}".encode()
Expand Down