updated path api
This commit is contained in:
2
waf3.py
2
waf3.py
@ -16,7 +16,7 @@ base_path = Path('/var/opt/waf')
|
|||||||
conf_file = base_path / 'config.yml'
|
conf_file = base_path / 'config.yml'
|
||||||
|
|
||||||
if conf_file.exists():
|
if conf_file.exists():
|
||||||
conf = yaml.safe_load(conf_file.text())
|
conf = yaml.safe_load(conf_file.read_text())
|
||||||
else:
|
else:
|
||||||
conf = {
|
conf = {
|
||||||
'vroots': "/srv",
|
'vroots': "/srv",
|
||||||
|
|||||||
Reference in New Issue
Block a user