]> git.rm.cloudns.org Git - xonotic/xonstat.git/commit
Don't throw an error if the number of duel ranks found is < 10.
authorantzucaro <azucaro@gmail.com>
Sat, 28 Apr 2012 12:30:30 +0000 (08:30 -0400)
committerantzucaro <azucaro@gmail.com>
Sat, 28 Apr 2012 12:30:30 +0000 (08:30 -0400)
commitcf29039b4b6632de8ded060c8982d92270fb6f9b
treee7992119395274f34f7a02f63a23cec2f4791e18
parentbd16fa02c2ccbd37f0fc921c92761830f8b57fbf
Don't throw an error if the number of duel ranks found is < 10.

I was using '-' as a filler in such cases, and was populating four values into a tuple. The template expected three, so in situations when I had to fall back on the filler values, I was providing one too many, leading to 'too many values to unpack' upon loading up the main page.
xonstat/views/main.py