fixed download resume error

This commit is contained in:
NitinVangipuram 2024-09-06 18:59:43 +05:30
parent c7a5325ed6
commit b977053556
1 changed files with 0 additions and 1 deletions

View File

@ -478,7 +478,6 @@ def downloadResume(request, id, email, user_type):
if not os.path.isdir(STORAGE_DESTINATION_RESUME_ZIP): if not os.path.isdir(STORAGE_DESTINATION_RESUME_ZIP):
os.makedirs(STORAGE_DESTINATION_RESUME_ZIP, exist_ok=True) os.makedirs(STORAGE_DESTINATION_RESUME_ZIP, exist_ok=True)
resumes = {} resumes = {}
print(applications);
for apl in applications: for apl in applications:
resumes[apl.student.roll_no] = STORAGE_DESTINATION_RESUMES + apl.student.id + '/' + apl.resume # Check if the folder name is student id or user id resumes[apl.student.roll_no] = STORAGE_DESTINATION_RESUMES + apl.student.id + '/' + apl.resume # Check if the folder name is student id or user id