From: Michael Tremer Date: Thu, 7 Mar 2024 13:56:36 +0000 (+0000) Subject: importer: Fix another variable error in CSV parser X-Git-Tag: 0.9.18~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=932a7552c7b47365fe479ec69fe3412df03dffaf;p=location%2Flibloc.git importer: Fix another variable error in CSV parser Signed-off-by: Michael Tremer --- diff --git a/src/scripts/location-importer.in b/src/scripts/location-importer.in index f9c068e..c9fd9a8 100644 --- a/src/scripts/location-importer.in +++ b/src/scripts/location-importer.in @@ -965,7 +965,7 @@ class CLI(object): async def _import_arin_as_names(self, source, countries, f, *args): # Walk through the file - for line in csv.DictReader(feed, dialect="arin"): + for line in csv.DictReader(f, dialect="arin"): log.debug("Processing object: %s" % line) # Fetch status