fcd5abfaeff4

Store shows before notifying so we get the right title in the email.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 23 Oct 2011 20:41:11 -0400
parents 540b3d6bc2bc
children c404c1660c49
branches/tags (none)
files src/newseasons/loops/refresh.clj

Changes

--- a/src/newseasons/loops/refresh.clj	Sun Oct 23 20:22:13 2011 -0400
+++ b/src/newseasons/loops/refresh.clj	Sun Oct 23 20:41:11 2011 -0400
@@ -42,8 +42,8 @@
   (println "  refreshing" id)
   (let [show (itunes/itunes-lookup-seasons id)]
     (when show
-      (check-and-notify show)
-      (shows/store-raw-show show))
+      (shows/store-raw-show show)
+      (check-and-notify show))
     (Thread/sleep 10000)))
 
 (defn- refresh []