From 364552f49a372eb223f62a319dc63768451f7b94 Mon Sep 17 00:00:00 2001 From: Morgan Astra Date: Tue, 20 Sep 2016 16:02:48 -0700 Subject: remove superfluous println calls --- src/pronouns/pages.clj | 10 ++++++---- src/pronouns/web.clj | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/pronouns/pages.clj b/src/pronouns/pages.clj index 25ab4ee..da6d46e 100644 --- a/src/pronouns/pages.clj +++ b/src/pronouns/pages.clj @@ -92,12 +92,15 @@ (twitter-name "morganastra") ", whose " (href "http://pronoun.is/ze/zir?or=she" "pronoun.is/ze/zir?or=she") - ". " + [:br] + [:br] "pronoun.is is free software under the " (href "https://www.gnu.org/licenses/agpl.html" "AGPLv3") - ", visit the project on " + "! visit the project on " (href "https://github.com/witch-house/pronoun.is" "github") - ","]])) + [:br] + [:br] + "<3"]])) (defn format-pronoun-examples @@ -118,7 +121,6 @@ (defn lookup-pronouns [pronouns-string] (let [inputs (s/split pronouns-string #"/") n (count inputs)] - (println *pronouns-table*) (if (>= n 5) (take 5 inputs) (u/table-lookup inputs *pronouns-table*)))) diff --git a/src/pronouns/web.clj b/src/pronouns/web.clj index 168ed62..eda8376 100644 --- a/src/pronouns/web.clj +++ b/src/pronouns/web.clj @@ -52,7 +52,6 @@ (try (handler req) (catch Exception e (binding [*out* *err*] - (println e) {:status 500 :headers {"Content-Type" "text/html"} :body (slurp (io/resource "500.html"))}))))) -- cgit