]> git.ipfire.org Git - location/libloc.git/commitdiff
importer: Fix another incorrect variable name
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Mar 2024 13:52:01 +0000 (13:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Mar 2024 13:52:01 +0000 (13:52 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/location-importer.in

index b9d8eccb824edf61c296de982cb7fed562c742bf..b23ed32e6805b95f1d7ee99aa2c20fb1a436ed52 100644 (file)
@@ -1422,7 +1422,7 @@ class CLI(object):
                        )
                        ON CONFLICT (network)
                                DO UPDATE SET country = excluded.country
-                       """, "%s" % network, country_code, [country], source_key,
+                       """, "%s" % network, country_code, [country_code], source_key,
                )
 
        async def handle_update_announcements(self, ns):