updated path api

This commit is contained in:
n.diaz
2024-11-25 19:58:30 +01:00
parent 2b228328c0
commit 621f46dd7a

View File

@ -16,7 +16,7 @@ base_path = Path('/var/opt/waf')
conf_file = base_path / 'config.yml'
if conf_file.exists():
conf = yaml.safe_load(conf_file.text())
conf = yaml.safe_load(conf_file.read_text())
else:
conf = {
'vroots': "/srv",