Fixed file not found error due to relative path

When updateHostFile.py is not run from the project directory we get a file not found error trying to find readmeData.json
This commit is contained in:
itachi46 2016-03-31 23:35:42 +11:00
parent 4ade0f87f8
commit 6f1484a01c

View File

@ -89,7 +89,7 @@ defaults = {
"readmefilename" : "readme.md",
"readmetemplate" : os.path.join(BASEDIR_PATH, "readme_template.md"),
"readmedata" : {},
"readmedatafilename" : "readmeData.json",
"readmedatafilename" : os.path.join(BASEDIR_PATH, "readmeData.json"),
"exclusionpattern" : "([a-zA-Z\d-]+\.){0,}",
"exclusionregexs" : [],
"exclusions" : [],