Commit 8cf7fee8 authored by Anika Treffehn's avatar Anika Treffehn
Browse files

quick fix for issue

parent 37d12f10
Loading
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -363,12 +363,15 @@ def process_item(
            out_dir_wav = True
        else:
            processing_paths.append(tmp_file.with_suffix(f".{p.name}{tmp_file.suffix}"))
            try:
            try:  # TODO: clean up try except blocks
                out_format = p.out_fmt
            except AttributeError:
                # EVS has no attribute out_fmt
                out_format = p.in_fmt
            try:
                if p.name == "pre_2":
                    bool_ism = p.in_fmt.startswith("ISM")
                else:
                    bool_ism = out_format.startswith("ISM")
            except Exception:
                bool_ism = out_format.name.startswith("ISM")