]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/scripts/location-importer.in
importer: Ignore comments in Geofeeds
[people/ms/libloc.git] / src / scripts / location-importer.in
index 63d682de08cde65bce56935a925d787e7d48f87b..cc2e5e2ffb1dfb98e4372f33db80812ca6112fc3 100644 (file)
@@ -1736,6 +1736,10 @@ class CLI(object):
                                        if not line:
                                                continue
 
+                                       # Skip comments
+                                       elif line.startswith("#"):
+                                               continue
+
                                        # Try to parse the line
                                        try:
                                                fields = line.split(",", 5)