tilde.town 2014-12-29 02:51:10 +00:00
commit 91f39d7de0
1 changed files with 2 additions and 3 deletions

View File

@ -37,8 +37,7 @@
(apply sorted [usernames] {"key" modify-time}))
(defn user-generator [] (->> (listdir "/home")
(filter (fn [f] (and (not (= f "ubuntu")) (not (= f "poetry")))))
list))
(filter (fn [f] (and (not (= f "ubuntu")) (not (= f "poetry")))))))
(def user-list (->> (user-generator)
sort-user-list
@ -47,6 +46,6 @@
(.join "\n")))
(print (.format "our esteemed users ({})<br> <sub>generated at {}</sub><br><ul>{}</ul>"
(len (user-generator))
(len (list (user-generator)))
timestamp
user-list))