mirror of https://gitlab.com/bashrc2/epicyon
Sort cities
parent
f22e6ee20a
commit
45ff85c6de
|
@ -1787,6 +1787,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
cities = []
|
cities = []
|
||||||
with open(locationsFilename, "r") as f:
|
with open(locationsFilename, "r") as f:
|
||||||
cities = f.readlines()
|
cities = f.readlines()
|
||||||
|
cities.sort()
|
||||||
editProfileForm += ' <select id="cityDropdown" ' + \
|
editProfileForm += ' <select id="cityDropdown" ' + \
|
||||||
'name="cityDropdown" class="theme">\n'
|
'name="cityDropdown" class="theme">\n'
|
||||||
city = city.lower()
|
city = city.lower()
|
||||||
|
|
Loading…
Reference in New Issue