Skip to content
Snippets Groups Projects
Commit 6917c9d2 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

.

parent fa7823fa
No related branches found
No related tags found
No related merge requests found
Pipeline #2384 passed with stage
in 27 seconds
......@@ -14,7 +14,10 @@ if __name__ == '__main__':
header_bin = readin('src/header.md')
footer_bin = readin('src/footer.md')
for lab_name in ('lab'+str(x) for x in [1,2,3,4,5,6]):
i = 1
while os.path.exists('src/lab%s.md' % (i, )):
lab_name = 'lab%s' % (i, )
i += 1
dist_lp, src_md, src_json = 'dist/' + lab_name, 'src/' + lab_name + '.md', 'src/'+lab_name+'.json'
os.system('mkdir '+dist_lp) # Make directories
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment