]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/clicmd/args.py
fix uses of config.get_path() to expect None
[nominatim.git] / nominatim / clicmd / args.py
index d1f47ba00b4a41eb34aaa852d23cbbc5e9b4aca7..6a3c8387b0e671eaa134be61bb4c83e4d34daa47 100644 (file)
@@ -29,7 +29,7 @@ class NominatimArgs:
                     osm2pgsql_style=self.config.get_import_style_file(),
                     threads=self.threads or default_threads,
                     dsn=self.config.get_libpq_dsn(),
-                    flatnode_file=str(self.config.get_path('FLATNODE_FILE')),
+                    flatnode_file=str(self.config.get_path('FLATNODE_FILE') or ''),
                     tablespaces=dict(slim_data=self.config.TABLESPACE_OSM_DATA,
                                      slim_index=self.config.TABLESPACE_OSM_INDEX,
                                      main_data=self.config.TABLESPACE_PLACE_DATA,