In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

This Server has been upgraded to GitLab release 14.2.6

Commit bbef1653 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix postal code split

parent 08e2ed75
...@@ -17,7 +17,7 @@ object Helpers { ...@@ -17,7 +17,7 @@ object Helpers {
}.map { }.map {
val values = it.split("\t") val values = it.split("\t")
Municipality( Municipality(
values[1].trim('"').split(", "), values[1].trim('"').split(",").map { code -> code.trim() },
values[2].trim('<', '>'), values[2].trim('<', '>'),
values[0].trim('<', '>'), values[0].trim('<', '>'),
values[3].replace("@de", "").trim('"'), values[3].replace("@de", "").trim('"'),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment