Commit 23a0c1ae authored by ChamendiPabasara's avatar ChamendiPabasara

Extracting Gazette-Number

parent 63bf38d0
...@@ -328,7 +328,8 @@ def PdfBreaker(gz_url): ...@@ -328,7 +328,8 @@ def PdfBreaker(gz_url):
elif is_examinations: elif is_examinations:
examinations_run_list.append(run) examinations_run_list.append(run)
# extracting gazette number from line
# Extracting gazette number from line
gno = gno.split(" ") gno = gno.split(" ")
gazetteno = gno[1].replace(',', '') gazetteno = gno[1].replace(',', '')
gazetteno = re.sub("[^0-9]", "", gazetteno) gazetteno = re.sub("[^0-9]", "", gazetteno)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment