diff --git a/src/rumchat_actor/common_commands.py b/src/rumchat_actor/common_commands.py index d696cff..dc05429 100644 --- a/src/rumchat_actor/common_commands.py +++ b/src/rumchat_actor/common_commands.py @@ -564,7 +564,7 @@ def form_recording_into_clip(self, duration, filename): print("Trimming") clip = recording.subclip(max((recording.duration - duration, 0)), recording.duration) print("Saving clip") - clip.write_videofile(filename + "." + CLIP_FILENAME_EXTENSION, logger = None) + clip.write_videofile(self.clip_save_path + os.sep + filename + "." + CLIP_FILENAME_EXTENSION, logger = None) print("Closing and deleting frozen copy") recording.close() os.system("rm " + self.recording_copy_fn)