Skip to content

Commit 42ab939

Browse files
committed
Catch TypeError
1 parent be0aa67 commit 42ab939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arkane/encorr/isodesmic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ def _find_error_canceling_reaction(self, reference_subset, milp_software=None):
729729
# Reset signal handling since lpsolve changed it
730730
try:
731731
signal.signal(signal.SIGINT, sig)
732-
except ValueError:
732+
except TypeError:
733733
# This is not being run in the main thread, so we cannot reset signal
734734
pass
735735

0 commit comments

Comments
 (0)