diff --git a/ufo/trajectory/parser.py b/ufo/trajectory/parser.py index 7aa2e7d3b..325e0119d 100644 --- a/ufo/trajectory/parser.py +++ b/ufo/trajectory/parser.py @@ -155,7 +155,7 @@ def _load_evaluation_data(self) -> Dict[str, Any]: try: evaluation_data = json.load(file) - except: + except json.JSONDecodeError: evaluation_data = {} else: