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

build fixed

parent 66bb2538
No related branches found
No related tags found
No related merge requests found
Pipeline #140 passed with stage
in 4 minutes and 16 seconds
...@@ -2,17 +2,17 @@ ...@@ -2,17 +2,17 @@
# coding=UTF-8 # coding=UTF-8
from __future__ import print_function from __future__ import print_function
import os, json, sys import os, json, sys
import os.path
if __name__ == '__main__': if __name__ == '__main__':
dist_lp = 'dist/' + sys.argv[1] + '/'
src_md = 'src/' + sys.argv[1] + '.md'
if not os.exists('src/'+sys.argv[1]+'.md'): if not os.path.exists(src_md):
print('Aborting, no src file') print('Aborting, no src file')
sys.exit() sys.exit()
dist_lp = 'dist/' + sys.argv[1] + '/'
src_md = 'src/' + sys.argv[1] + '.md'
with open('src/header.md') as fh, open('src/footer.md', 'rb') as ff: with open('src/header.md') as fh, open('src/footer.md', 'rb') as ff:
header_bin = fh.read() header_bin = fh.read()
footer_bin = ff.read() footer_bin = ff.read()
......
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