diff --git a/scripts/userlist.hy b/scripts/userlist.hy index f98147d..75705d9 100644 --- a/scripts/userlist.hy +++ b/scripts/userlist.hy @@ -13,7 +13,7 @@ (def default-html (slurp "/etc/skel/public_html/index.html")) (defn dir->html [username] - (let [[default (= default-html (slurp (.format "/home/{}/public_html/index.html" dirname)))]] + (let [[default (= default-html (slurp (.format "/home/{}/public_html/index.html" username)))]] (.format "
  • {} {}
  • " username username (if default