From a7db4f940a01afcb16cde93e20b5d97a868d5788 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 12 Mar 2024 11:24:47 +0000 Subject: [PATCH] importer: Convert networks back to string psycopg3 returns inet types as IP networks. Signed-off-by: Michael Tremer --- src/scripts/location-importer.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/location-importer.in b/src/scripts/location-importer.in index 5424b5c..45b17e6 100644 --- a/src/scripts/location-importer.in +++ b/src/scripts/location-importer.in @@ -659,7 +659,7 @@ class CLI(object): """) for row in rows: - network = writer.add_network(row.network) + network = writer.add_network("%s" % row.network) # Save country if row.country: -- 2.47.3