]> git.ipfire.org Git - location/libloc.git/commitdiff
python: Fix missing bracket
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 Aug 2022 15:47:20 +0000 (15:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 Aug 2022 15:47:20 +0000 (15:47 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/location-importer.in

index b9e35112105739863508abeffbb7879287444d5d..cfc264d58f8d6c27dc839bec6039283054e394c0 100644 (file)
@@ -445,7 +445,7 @@ class CLI(object):
                                                for line in downloader.request_lines(url):
                                                        self._parse_line(line, source, validcountries)
                                except urllib.error.URLError as e:
-                                       log.error("Could not retrieve data from %s: %s" % (source, e)
+                                       log.error("Could not retrieve data from %s: %s" % (source, e))
                                        error = True
 
                                        # Continue with the next source