From db26306b5b1da5aef12140e422691328d67af262 Mon Sep 17 00:00:00 2001 From: tux Date: Thu, 28 Nov 2024 09:19:52 +0100 Subject: [PATCH] use python3 for yml parsing --- scm/yaml_parser.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm/yaml_parser.scm b/scm/yaml_parser.scm index f3b5086..6ecae50 100644 --- a/scm/yaml_parser.scm +++ b/scm/yaml_parser.scm @@ -2,7 +2,7 @@ (define (yml-file->scm filename) (let* ((python_cmd (string-append "import sys, yaml, json; print(json.dumps(yaml.safe_load(open('" filename "'))))")) - (pipe (open-pipe* OPEN_READ "python" "-c" python_cmd)) + (pipe (open-pipe* OPEN_READ "python3" "-c" python_cmd)) (json (get-string-all pipe))) (close-pipe pipe) (json-string->scm json)))