fixed download resume error
This commit is contained in:
parent
c7a5325ed6
commit
b977053556
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue