Compare commits
	
		
			1 Commits
		
	
	
		
			487bf457fb
			...
			db26306b5b
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| db26306b5b | 
@@ -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)))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user