Commit 81e2de2
Update logfilter.py
- Add buffer.seek(0) after truncate to reset file pointer position
- Add isinstance and len check before accessing item[16] to prevent
IndexError
- Improves robustness when processing malformed CSV log entries1 parent e51dd08 commit 81e2de2
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
282 | 284 | | |
283 | 285 | | |
| 286 | + | |
284 | 287 | | |
285 | 288 | | |
286 | 289 | | |
287 | 290 | | |
| 291 | + | |
288 | 292 | | |
289 | 293 | | |
290 | 294 | | |
| |||
0 commit comments