From 2ed50d75bcec976ac971e0c7cb0f7907b7fb7d24 Mon Sep 17 00:00:00 2001 From: Aaron Mueller Date: Mon, 20 Jan 2014 22:32:28 +0100 Subject: [PATCH] Add some comments and remove the db init (will be done at startup) --- src/ldview/tasks/runner.clj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ldview/tasks/runner.clj b/src/ldview/tasks/runner.clj index 8398801..f5c059a 100644 --- a/src/ldview/tasks/runner.clj +++ b/src/ldview/tasks/runner.clj @@ -32,10 +32,9 @@ (if-not (entry/exists? ld-uid) (save-entry (scrape/entry-details ld-uid))))))) -; TODO: Whatch out, the competition is set in the scrape .... refactor this ... +; TODO: Watch out, the competition is set in the scrape .... refactor this ... +; TODO: Only create the competition if not allready exists (defn load-competition [id title] - (cleanup) - (schema/create-tables) (competition/create! id title) (fetch-all-content))