From 565c9c0cdb3f10d5e7c5af94d842e07df26cd069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simard?= Date: Thu, 1 Aug 2024 21:18:01 -0400 Subject: [PATCH] Fixed Python dict creation... ... extra [ ] were added at both ends of a dict. --- scripts/process_csv_in_github_action.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/process_csv_in_github_action.swift b/scripts/process_csv_in_github_action.swift index 098f2214..c82f3dff 100644 --- a/scripts/process_csv_in_github_action.swift +++ b/scripts/process_csv_in_github_action.swift @@ -328,7 +328,7 @@ func redirectArray(for rawData: String) -> String { valueKeyPairs.append(prefix + currentString + suffix) } - let returnString : String = "[\(valueKeyPairs.joined(separator: keyValuePairsJoiner))]" // [{"id": 2036}, {"id": 2037}, {"id": 2038}] + let returnString : String = "\(valueKeyPairs.joined(separator: keyValuePairsJoiner))" // Ex.: {"id": 2036}, {"id": 2037}, {"id": 2038} AKA a Python dict return returnString }