From 778d8e6f56de1bd263ad405017ca5a34f5c306bb Mon Sep 17 00:00:00 2001 From: Puyodead1 <23562356riley@gmail.com> Date: Sun, 8 Aug 2021 14:15:07 -0400 Subject: [PATCH] Bug fix + Fixes an error when trying to rename hls file --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4a13b3c..cfbab22 100644 --- a/main.py +++ b/main.py @@ -1073,7 +1073,7 @@ def process_lecture(lecture, lecture_path, lecture_file_name, quality, access_to "aria2c", "-o", f"{temp_filepath}", f"{url}" ]).wait() if ret_code == 0: - os.rename(temp_filepath, lecture_path) + # os.rename(temp_filepath, lecture_path) print(" > HLS Download success") else: download_aria(url, chapter_dir, lecture_title + ".mp4")