]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tools/refresh.py
fix uses of config.get_path() to expect None
[nominatim.git] / nominatim / tools / refresh.py
index 561bcf83ce4775f4fd19afa9761b368109f58476..257d587e117f41de52571958826e75ae3202ba28 100644 (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)