mirror of https://gitlab.com/bashrc2/epicyon
Remove slashes from cities
parent
debc48cc5f
commit
b78e38a26c
|
@ -63,6 +63,7 @@ def load_city_hashtags(base_dir: str, translate: {}) -> None:
|
||||||
for hashtag in cities:
|
for hashtag in cities:
|
||||||
hashtag = hashtag.lower().strip()
|
hashtag = hashtag.lower().strip()
|
||||||
hashtag = hashtag.replace(' & ', ' and ')
|
hashtag = hashtag.replace(' & ', ' and ')
|
||||||
|
hashtag = hashtag.replace('/', '')
|
||||||
|
|
||||||
hashtag2 = hashtag.replace('-', '').replace(' ', '')
|
hashtag2 = hashtag.replace('-', '').replace(' ', '')
|
||||||
city_filename = base_dir + '/tags/' + hashtag2 + '.category'
|
city_filename = base_dir + '/tags/' + hashtag2 + '.category'
|
||||||
|
|
|
@ -426,7 +426,7 @@ York
|
||||||
Modena
|
Modena
|
||||||
Thamesdown
|
Thamesdown
|
||||||
Leganés
|
Leganés
|
||||||
Mülheim/Ruhr
|
Mülheim
|
||||||
Cagliari
|
Cagliari
|
||||||
Miskolc
|
Miskolc
|
||||||
Genève
|
Genève
|
||||||
|
|
|
@ -24,7 +24,8 @@ Denver
|
||||||
Washington
|
Washington
|
||||||
Nashville-Davidson
|
Nashville-Davidson
|
||||||
Baltimore
|
Baltimore
|
||||||
Louisville/Jefferson
|
Louisville
|
||||||
|
Jefferson
|
||||||
Portland
|
Portland
|
||||||
Oklahoma
|
Oklahoma
|
||||||
Milwaukee
|
Milwaukee
|
||||||
|
|
Loading…
Reference in New Issue