Commit 1610d228 authored by Jan Kiene's avatar Jan Kiene
Browse files

change Path objects to strings in cmd line lists

depending on python version, subprocess.run does not like them
parent 88ce8a1a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ def apply_error_pattern_on_bitstream(
        if in_bitstream == out_bitstream:
            in_bitstream = Path(tmpdir).joinpath(in_bitstream.name)

        cmd = ["eid-xor", "-vbr", "-fer", in_bitstream, error_pattern, out_bitstream]
        cmd = ["eid-xor", "-vbr", "-fer", str(in_bitstream), str(error_pattern), str(out_bitstream)]
        subprocess.run(cmd)