Skip to content

Commit

Permalink
Merge pull request #2 from alexanderdavidpan/patch-4
Browse files Browse the repository at this point in the history
Remove useless variable assignment.
  • Loading branch information
ankitsamarthya committed Sep 15, 2017
2 parents 470870d + 4b70d65 commit 885d90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/coinmarketcap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def self.get_historical_price(id, start_date, end_date) #20170908
price_bundle[:avg] = ( price_bundle[:high] + price_bundle[:low] ) / 2.0
prices << price_bundle
end
rescue => error
rescue
next
end
end
Expand Down

0 comments on commit 885d90d

Please sign in to comment.