Skip to content

Commit

Permalink
Merge pull request #28 from ParthBibekar/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ParthBibekar authored Aug 12, 2023
2 parents a0c43af + 5b39012 commit 372e455
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/welearnbot/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def download_resource(
) -> Tuple[str, str]:
"""Helper function to retrieve a file/resource from the server"""
filename = resource["filename"]
subfolders = [subfolder.strip() for subfolder in subfolders]
course_dir = os.path.join(prefix, course, *subfolders)
fileurl = resource["fileurl"]
_, extension = os.path.splitext(filename)
Expand Down

0 comments on commit 372e455

Please sign in to comment.