X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8f63f9516b276af8391d71e285db44a7b7214803..4abaf712341758f50484fe1fe2764a7a5216de78:/nominatim/tools/tiger_data.py diff --git a/nominatim/tools/tiger_data.py b/nominatim/tools/tiger_data.py index 90789e79..07772c70 100644 --- a/nominatim/tools/tiger_data.py +++ b/nominatim/tools/tiger_data.py @@ -86,7 +86,7 @@ def add_tiger_data(data_dir, config, threads): return with connect(dsn) as conn: - sql = SQLPreprocessor(conn, config, config.lib_dir.sql) + sql = SQLPreprocessor(conn, config) sql.run_sql_file(conn, 'tiger_import_start.sql') # Reading sql_files and then for each file line handling @@ -116,5 +116,5 @@ def add_tiger_data(data_dir, config, threads): print('\n') LOG.warning("Creating indexes on Tiger data") with connect(dsn) as conn: - sql = SQLPreprocessor(conn, config, config.lib_dir.sql) + sql = SQLPreprocessor(conn, config) sql.run_sql_file(conn, 'tiger_import_finish.sql')