Skip to content

Commit

Permalink
One more time, see if we can make it work on Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed May 2, 2012
1 parent a9b3be4 commit b324612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/data/data_retrieval.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module DataRetrieval
# Downloads files and converts them from ISO-8859-1 to UTF-8
#
def self.download_files(entity = nil)
config = entity ? {entity[0] => entity[1]} : self.load_data_yaml
config = entity ? entity : self.load_data_yaml
config.each do |entity|
file = self.download(entity[1]['url'])
entity[1]['last_modified'] = DateTime.now.strftime("%Y/%m/%d")
Expand Down

0 comments on commit b324612

Please sign in to comment.