fix for digits in username
This commit is contained in:
parent
ab9322581e
commit
fc388d954c
1 changed files with 1 additions and 1 deletions
2
app.rb
2
app.rb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue