Commit 1e2d93b
committed
fix: handle None in serial port description/manufacturer during auto-detect
p.description and p.manufacturer can both be None on some platforms.
Guard with 'or ""' to prevent TypeError on string concatenation.
All checks pass: ruff check ✅, ruff format ✅, 358 tests ✅1 parent ddfb5e1 commit 1e2d93b
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
0 commit comments