X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c4928c646df3b4ff1409358c2e34b9883d600d39..aaf2b6032eb3297aeb20b5c98223e9da734f56d4:/nominatim/tools/refresh.py diff --git a/nominatim/tools/refresh.py b/nominatim/tools/refresh.py index 561bcf83..257d587e 100644 --- a/nominatim/tools/refresh.py +++ b/nominatim/tools/refresh.py @@ -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)