Skip to content

Commit 0e2f0c2

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

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
@@ -162,9 +162,9 @@ def process_recording(self, recording):
162162
if recording["recording_filename"] == "NA":
163163
return pd.DataFrame()
164164

165-
original_file = self.project.get_recording_path(
165+
original_file = str(self.project.get_recording_path(
166166
recording["recording_filename"], self.input_profile
167-
)
167+
))
168168
converted_filename = os.path.splitext(recording["recording_filename"])[0] + "." + self.format
169169

170170
destination_file = os.path.join(

0 commit comments

Comments
 (0)