Skip to content

Commit 05da630

Browse files
committed
x2 use str inside the subprocess call instead of Path as it can fail in pytohn<=3.7
1 parent 0e2f0c2 commit 05da630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ChildProject/pipelines/processors.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -456,9 +456,9 @@ def process_recording(self, recording):
456456
if recording["recording_filename"] == "NA":
457457
return pd.DataFrame()
458458

459-
original_file = self.project.get_recording_path(
459+
original_file = str(self.project.get_recording_path(
460460
recording["recording_filename"], self.input_profile
461-
)
461+
))
462462
converted_filename = os.path.splitext(recording["recording_filename"])[0] + "." + self.format
463463

464464
destination_file = os.path.join(

0 commit comments

Comments
 (0)