fix for digits in username

This commit is contained in:
Andrew Tomaka 2015-04-23 16:34:36 -04:00
parent ab9322581e
commit fc388d954c

2
app.rb
View file

@ -18,7 +18,7 @@ get '/' do
require 'pp'
@top20 = {}
highscores.each do |td_user|
user = td_user.text.scan(/[A-Za-z]+/)
user = td_user.text.scan(/[A-Za-z0-9]+/)
@top20[user.first] = nil
end