From 5e7abf7b4b509e0d4b4add385d65b54ef3f9b6f6 Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Sun, 10 Mar 2024 13:58:51 +0100 Subject: [PATCH] Fix skipped rounds import --- .../src/main/kotlin/org/jeudego/pairgoth/ext/OpenGotha.kt | 2 +- api-webapp/src/main/resources/xsd/opengotha.xsd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api-webapp/src/main/kotlin/org/jeudego/pairgoth/ext/OpenGotha.kt b/api-webapp/src/main/kotlin/org/jeudego/pairgoth/ext/OpenGotha.kt index e382cb1..9ac3221 100644 --- a/api-webapp/src/main/kotlin/org/jeudego/pairgoth/ext/OpenGotha.kt +++ b/api-webapp/src/main/kotlin/org/jeudego/pairgoth/ext/OpenGotha.kt @@ -166,7 +166,7 @@ object OpenGotha { final = "FIN" == player.registeringStatus, mmsCorrection = player.smmsCorrection ).also { - player.participating.toString().forEachIndexed { i,c -> + player.participating.forEachIndexed { i,c -> if (c == '0') it.skip.add(i + 1) } canonicMap.put("${player.name.replace(" ", "")}${player.firstName.replace(" ", "")}".uppercase(Locale.ENGLISH), it.id) diff --git a/api-webapp/src/main/resources/xsd/opengotha.xsd b/api-webapp/src/main/resources/xsd/opengotha.xsd index 00c8ece..6b27bfa 100644 --- a/api-webapp/src/main/resources/xsd/opengotha.xsd +++ b/api-webapp/src/main/resources/xsd/opengotha.xsd @@ -14,7 +14,7 @@ - +