mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-07 13:02:27 +02:00
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:
parent
4ade0f87f8
commit
6f1484a01c
@ -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" : [],
|
||||
|
Loading…
Reference in New Issue
Block a user