Browse Source

Merge pull request #1853 from return42/sort_osm_keys

[fix] update_osm_keys_tags.py: sort JSON dump
Markus Heiser 2 years ago
parent
commit
a733761288
2 changed files with 225 additions and 186 deletions
  1. 224 185
      searx/data/osm_keys_tags.json
  2. 1 1
      searxng_extra/update/update_osm_keys_tags.py

File diff suppressed because it is too large
+ 224 - 185
searx/data/osm_keys_tags.json


+ 1 - 1
searxng_extra/update/update_osm_keys_tags.py

@@ -215,4 +215,4 @@ if __name__ == '__main__':
         'tags': optimize_tags(get_tags()),
     }
     with open(get_osm_tags_filename(), 'w', encoding="utf8") as f:
-        json.dump(result, f, indent=4, ensure_ascii=False)
+        json.dump(result, f, indent=4, ensure_ascii=False, sort_keys=True)

Some files were not shown because too many files changed in this diff