Skip to content

Commit

Permalink
fix heroku compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jkk committed Jan 17, 2013
1 parent 048db5e commit 3e4c397
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/clojuresphere/preprocess.clj
Expand Up @@ -13,7 +13,9 @@
[sundry.io :as sio]
[aws.sdk.s3 :as s3]))

(def config (sio/read (io/resource "config.clj")))
(def config (try
(sio/read (io/resource "config.clj"))
(catch Exception _ {})))

(def aws-cred {:access-key (:aws-access-key config)
:secret-key (:aws-secret-key config)})
Expand Down

0 comments on commit 3e4c397

Please sign in to comment.