Commit 3b245632 authored by colmoneill's avatar colmoneill

tilde causing trouble for python?

parent 3355ce17
......@@ -7,7 +7,7 @@ import yaml
import os
from glob import glob
PATH_TO_REPO_HOME = '~/git/bemaker/eu.bemaker.flask/'
PATH_TO_REPO_HOME = '/home/colm/git/bemaker/eu.bemaker.flask/'
print('parsing all .md files in md_sources folder')
......@@ -18,7 +18,7 @@ for file in inputMd:
fileName = file.partition('.')
input = open(file, 'r')
input = input.read()
outputFile = open('pages/_PARSED_'+fileName[0]+'.md', 'w')
# outputFile = open('pages/_PARSED_'+fileName[0]+'.md', 'w')
outputFile = open(PATH_TO_REPO_HOME +'app/pages/'+'_PARSED_'+fileName[0]+'.md', 'w')
yamlData = yaml.load(str(input.partition('...')[2].partition('...')[0]))
folderName = yamlData['folderImg']
......
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