Skip to content

Commit

Permalink
Fix Python 2.6, third try.
Browse files Browse the repository at this point in the history
  • Loading branch information
ast0815 committed Aug 31, 2019
1 parent 1c584e1 commit 43f2b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remu/likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def __init__(self, response_matrix, translation_function, parameter_limits, defa
try:
# Load response matrix and necessary arguments from file
matrix, args = LikelihoodMachine._args_from_matrix_file(response_matrix)
except TypeError:
except (TypeError, AttributeError):
pass
else:
response_matrix = matrix
Expand Down

0 comments on commit 43f2b43

Please sign in to comment.