29
30
for row_index in range(sections_sheet.nrows):
30
31
if sections_sheet.cell(row_index, 0).value == u'ID':
31
32
section_id = sections_sheet.cell(row_index, 1).value
32
path = "%s/schoolyears/%s/%s/sections/%s/gradeCompetencies/scr_archive" % (server, year_id, term_id, section_id)
33
esc = urllib.quote("/schoolyears/%s/%s/sections/%s/gradeCompetencies/scr_archive" % (year_id, term_id, section_id))
33
35
pdfName = '%s-%s-%s.pdf' % (year_id, term_id, section_id)
34
36
pdfPath = "%s/%s/%s/%s" % (output, year_id, term_id, pdfName)
35
37
if os.access(pdfPath, os.R_OK):