Permalink
Browse files

fixed for realz

  • Loading branch information...
1 parent 9badaaf commit 1ec43f66a7fee390e3ad47049439881787a28af2 @maddox committed Feb 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cbs_scores/cbs_scores.rb
@@ -100,7 +100,7 @@ def parse_basketball_game(game_html)
game.team1[:name] = Hpricot(game_html.to_s).at("//span div table tr:nth(1) td b").inner_html
game.team2[:name] = Hpricot(game_html.to_s).at("//span div table tr:nth(2) td b").inner_html
begin
- game.team1[:seed] = Hpricot(game_html.to_s).at("//span div table tr:nth(1) td font").inner_html.gsub('#','').gsub('&laquo', '')
+ game.team1[:seed] = Hpricot(game_html.to_s).at("//span div table tr:nth(1) td font").inner_html.gsub('#','')
game.team1[:seed] = nil if game.team1[:seed] == "&laquo"
rescue Exception => e
game.team1[:seed] = nil

0 comments on commit 1ec43f6

Please sign in to comment.