Skip to content

Commit

Permalink
more syntax fixes. lagotto#363
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jul 8, 2015
1 parent 87d7154 commit 0ce592c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/jobs/pmc_job.rb
Expand Up @@ -8,8 +8,8 @@ def perform(publisher_id, month, year, journal, options={})
dates = source.date_range(month: month, year: year)
# we have to do this sequentally, as we are updating a single CouchDB document for a work for every month
dates.each do |date|
filename = get_feed(publisher_id, date[:month], date[:year], journal, options)
parse_feed(publisher_id, date[:month], date[:year], journal, options) if filename.present?
filename = source.get_feed(publisher_id, date[:month], date[:year], journal, options)
source.parse_feed(publisher_id, date[:month], date[:year], journal, options) if filename.present?
end
end
end

0 comments on commit 0ce592c

Please sign in to comment.