Commit b106e24
committed
Fix redundant exception type in Auto3DSeg utils
ModuleNotFoundError is a subclass of ImportError, so catching both
is redundant. Fixes flake8-bugbear B014.
Signed-off-by: Soumya Snigdha Kundu <soumya_snigdha.kundu@kcl.ac.uk>1 parent 3b5f418 commit b106e24
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | | - | |
| 498 | + | |
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| |||
0 commit comments