fix uses of config.get_path() to expect None

This commit is contained in:
Sarah Hoffmann
2022-07-03 18:36:33 +02:00
parent c4928c646d
commit aaf2b6032e
5 changed files with 9 additions and 11 deletions

View File

@@ -174,7 +174,7 @@ def _quote_php_variable(var_type, config, conf_name):
return 'false'
if var_type == Path:
value = str(config.get_path(conf_name))
value = str(config.get_path(conf_name) or '')
else:
value = getattr(config, conf_name)