From 025f18117d776cc982e83910b9bcd2f0266413e9 Mon Sep 17 00:00:00 2001 From: dj346 Date: Fri, 14 Jan 2022 02:32:15 -0800 Subject: [PATCH] Fixed makeValidFilename back to makeValidFolderPath resolves https://github.com/davekats/canvas-student-data-export/pull/7#pullrequestreview-852487782 --- export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export.py b/export.py index cd6e9ea..068afa4 100644 --- a/export.py +++ b/export.py @@ -301,7 +301,7 @@ def downloadCourseFiles(course, course_view): for file in files: file_folder=course.get_folder(file.folder_id) - folder_dl_dir=os.path.join(dl_dir, makeValidFilename(file_folder.full_name)) + folder_dl_dir=os.path.join(dl_dir, makeValidFolderPath(file_folder.full_name)) if not os.path.exists(folder_dl_dir): os.makedirs(folder_dl_dir)