def _load_cutlist(self, file_, encoding): try: self._cuts = CutsFile.load_cutlist(file_, encoding) except Exception as e: self._error(self.STEP_LOADING_CUTLIST, _('Failed to load cutlist file:\n{}!').format(e.args[0])) return self._detect_subtitle_encoding()