Problem with hitlist(evt) - Possible solution

The solution I came up with without delving into the code is to add the following two lines to lines.py:286, so that self._transformed_path gets assigned a value if it is None before it is accessed:
if self._transformed_path is None:
            self._transform_path()