Commits

Miki Tebeka committed e127e63

Save in charts

Comments (0)

Files changed (2)

 lib
 classes
 logs
+charts
 
 (defn run-job [job records]
   (let [chart (gen-chart job records)]
-    (save chart (str (:filename job) ".png"))))
+    (save chart (str "charts/" (:filename job) ".png"))))
 
 (defn time-fmt [fmt]
   (fn [dt]
     :title "Lines/Month"
     :x-label "Month"
     :y-label "Lines"
-    :filename "numlines"
+    :filename "lines"
     :x-format (time-fmt "MMM")})
 
 (def numusers {