Commit f1e104d1 authored by Kamlesh Todai's avatar Kamlesh Todai
Browse files

sort the file list before processing

parent 715797e8
Pipeline #11446 failed with stages
in 8 seconds
......@@ -231,7 +231,8 @@ for row_num in records:
curPlatform = ""
localRowNo = rowNum
collName = []
for file in os.listdir("."):
for file in sorted(os.listdir(".")):
if (file.endswith(".html")): # process only html files
fileParts = file.split(".")
if (fileParts[0] == "index"):
Supports Markdown
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