From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: location@lists.ipfire.org Subject: [PATCH] location.in: fix search_networks() function call Date: Sun, 16 May 2021 22:35:15 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7074102410241758673==" List-Id: --===============7074102410241758673== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Fixes: #12617 Signed-off-by: Peter M=C3=BCller --- src/python/location.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/location.in b/src/python/location.in index ad2ccf5..e02b4e8 100644 --- a/src/python/location.in +++ b/src/python/location.in @@ -506,7 +506,7 @@ class CLI(object): f =3D writer(sys.stdout, prefix=3Dcountry_code) =20 # Print all matching networks - for n in db.search_networks(country_code=3Dcountry_code, family=3Dns.fami= ly): + for n in db.search_networks(country_codes=3D[country_code], family=3Dns.f= amily): f.write(n) =20 f.finish() --=20 2.26.2 --===============7074102410241758673==--