tilde.town 2014-10-15 19:13:18 +00:00
commit 379b3350b7
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
(def timestamp (.strftime (.now datetime) "%Y-%m-%d %H:%M:%S")) (def timestamp (.strftime (.now datetime) "%Y-%m-%d %H:%M:%S"))
(defn slurp [filename] (defn slurp [filename]
(.read (open filename "r"))) (.read (apply open [filename "r"] {"encoding" "utf-8"})))
(def default-html (slurp "/etc/skel/public_html/index.html")) (def default-html (slurp "/etc/skel/public_html/index.html"))