Commit 85b9b23
committed
Fix LVHDSR.load: test other_conf to prevent mypy error
Avoid:
```
drivers/LVHDSR.py:195: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
drivers/LVHDSR.py:196: error: Value of type "Any | None" is not indexable [index]
```
Signed-off-by: Ronan Abhamon <ronan.abhamon@vates.fr>1 parent 59ed5e3 commit 85b9b23
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
| 170 | + | |
172 | 171 | | |
173 | 172 | | |
174 | 173 | | |
| |||
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
185 | | - | |
| 184 | + | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
| |||
0 commit comments