1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-05 12:50:11 +01:00
searxng/searxng_extra/update
Markus Heiser 0ebff871a5 [fix] update_currencies.py - AttributeError: 'str' object has no attribute 'insert'
Replace lists with one item by the item, not before last currency has been
added.  In this traceback 'MXN' is added to 'pesos' while pesos is no longer a
list as the optimization was carried out too early.

    $ ./local/py3/bin/python searxng_extra/update/update_currencies.py
    Traceback (most recent call last):
      File "searxng_extra/update/update_currencies.py", line 164, in <module>
        main()
      File "searxng_extra/update/update_currencies.py", line 157, in main
        add_currency_name(db, "pesos", 'MXN')
      File "searxng_extra/update/update_currencies.py", line 89, in add_currency_name
        iso4217_set.insert(0, iso4217)
      AttributeError: 'str' object has no attribute 'insert'

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-06-28 21:21:53 +02:00
..
__init__.py SearXNG: searxng_extra 2021-10-02 17:30:39 +02:00
update_ahmia_blacklist.py [mod] make python code pylint 2.16.1 compliant 2023-02-10 13:59:21 +01:00
update_currencies.py [fix] update_currencies.py - AttributeError: 'str' object has no attribute 'insert' 2023-06-28 21:21:53 +02:00
update_engine_descriptions.py [fix] searxng_extra/update/update_engine_descriptions.py (part 2) 2023-04-15 16:04:05 +02:00
update_engine_traits.py [fix] Israeli flag emoji in locale dropdown 2023-04-16 08:40:23 +02:00
update_external_bangs.py [fix] external bangs: don't overwrite Bangs in data trie 2022-01-12 19:37:13 +01:00
update_firefox_version.py [fix] remove usage of deprecated-module distutis 2023-02-10 15:31:54 +01:00
update_osm_keys_tags.py [mod] replace searx.languages by searx.sxng_locales 2023-03-24 10:37:42 +01:00
update_pygments.py [theme] peel out oscar from SearXNG development 2022-04-30 13:20:27 +02:00
update_wikidata_units.py [docs] add documentation for the scripts in searxng_extra/update 2022-01-05 16:09:40 +01:00