1
0
Fork 0

Fix comments-closed-timestamp spec parser

This commit is contained in:
Andy Wingo 2021-03-08 15:37:34 +01:00
parent d6cee09123
commit 768578c873

View file

@ -59,10 +59,10 @@
`((timestamp . ,string->number)
(tags . ,(lambda (v) (string-split/trimming v #\,)))
(title . ,identity)
(comments-closed-timestamp ,(lambda (str)
(if (string-null? str)
#f
string->number)))))
(comments-closed-timestamp . ,(lambda (str)
(if (string-null? str)
#f
string->number)))))
(define (post-from-tree encoded-name sha1)
(append `((key . ,encoded-name)