]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/clicmd/freeze.py
add type annotations to special phrase importer
[nominatim.git] / nominatim / clicmd / freeze.py
index 85eb1b4a1730e9070956ee4d900aa91a9f3c4f8c..b11880ca74dcccb3ad659fbe5721eb2270253c1a 100644 (file)
@@ -37,6 +37,6 @@ class SetupFreeze:
 
         with connect(args.config.get_libpq_dsn()) as conn:
             freeze.drop_update_tables(conn)
 
         with connect(args.config.get_libpq_dsn()) as conn:
             freeze.drop_update_tables(conn)
-        freeze.drop_flatnode_file(str(args.config.get_path('FLATNODE_FILE')))
+        freeze.drop_flatnode_file(args.config.get_path('FLATNODE_FILE'))
 
         return 0
 
         return 0