Skip to content

Commit 6b5a477

Browse files
committed
Specify type of exception
1 parent 0545ac7 commit 6b5a477

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_moldrug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
try:
2121
from dask_jobqueue import SLURMCluster
2222
dask_available = True
23-
except:
23+
except ImportError:
2424
dask_available = False
2525

2626
# This is in case vina is not found. You can change the vina executable here

0 commit comments

Comments
 (0)