~qeef/damn-server

338bcf9593e7f10f2dcbe00e7aee885fd7506c92 — Jiri Vlasak 19 days ago d30191b
Make lang code always lower-case
1 files changed, 1 insertions(+), 1 deletions(-)

M damn_server/api.py
M damn_server/api.py => damn_server/api.py +1 -1
@@ 176,7 176,7 @@ async def authorized_by_openstreetmap_so_create_and_store_token(
    try:
        xml_languages = xml_user.find("languages")
        xml_lang = xml_languages.find("lang")
        u.lang = xml_lang.text
        u.lang = xml_lang.text.lower()
    except:
        pass
    try: