Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Commit

Permalink
Merge pull request #213 from m3brown/csv
Browse files Browse the repository at this point in the history
Attempt to address csv output bug with flush command
  • Loading branch information
m3brown committed Jul 29, 2014
2 parents 8419419 + f08e6f1 commit 7e00c68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qu/views.clj
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
(response/content-type "text/html"))))

(defn- write-csv [data]
(with-out-str (csv/write-csv *out* data)))
(with-out-str (csv/write-csv *out* data))
(flush))

(defn slice-html
[view-map]
Expand Down

0 comments on commit 7e00c68

Please sign in to comment.