diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-29 08:30:55 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-29 08:30:55 -0400 |
commit | f461002bef30b7bc1751917ab388be8d4eab37d8 (patch) | |
tree | 740fc3d0cdaa11102be221f4fca9bd32f3ab9484 /lib/sampling/riot_api.rb | |
parent | 284da4d7e5badc0a1ad9dafc52672ab14168c91b (diff) |
fix scoring (mostly... I managed to get a 500 while refreshing)
Diffstat (limited to 'lib/sampling/riot_api.rb')
-rw-r--r-- | lib/sampling/riot_api.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sampling/riot_api.rb b/lib/sampling/riot_api.rb index bbe9cea..4e72f91 100644 --- a/lib/sampling/riot_api.rb +++ b/lib/sampling/riot_api.rb @@ -49,7 +49,7 @@ module Sampling def perform response = open(@url) status = response.status - data = JSON::parse(response.read) + data = JSON::restore(response.read) # Error codes that RIOT uses: # "400"=>"Bad request" |