changes to downloadresume
This commit is contained in:
parent
c89cae549f
commit
48ffebb221
|
@ -480,7 +480,7 @@ def downloadResume(request, id, email, user_type):
|
|||
os.makedirs(STORAGE_DESTINATION_RESUME_ZIP, exist_ok=True)
|
||||
resumes = {}
|
||||
for apl in applications:
|
||||
if apl.selected:
|
||||
|
||||
resumes[apl.student.roll_no] = STORAGE_DESTINATION_RESUMES + apl.student.id + '/' + apl.resume # Check if the folder name is student id or user id
|
||||
|
||||
with zipfile.ZipFile(STORAGE_DESTINATION_RESUME_ZIP + zip_filename, 'w', zipfile.ZIP_DEFLATED) as zip_file:
|
||||
|
|
Loading…
Reference in New Issue