Commit 0cb1a88c authored by Peter Müller's avatar Peter Müller Committed by Michael Tremer

location.in: fix search_networks() function call

Fixes: #12617
Signed-off-by: default avatarPeter Müller <peter.mueller@ipfire.org>
Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent 7138b4ac
......@@ -506,7 +506,7 @@ class CLI(object):
f = writer(sys.stdout, prefix=country_code)
# Print all matching networks
for n in db.search_networks(country_code=country_code, family=ns.family):
for n in db.search_networks(country_codes=[country_code], family=ns.family):
f.write(n)
f.finish()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment