chiark / gitweb /
Recognise Ultimate people
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 27 May 2009 17:17:27 +0000 (18:17 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 27 May 2009 17:17:27 +0000 (18:17 +0100)
yoweb-scrape

index b62ce0037528b1db9684d2484bc3dae9c0250bdb..e7e3ec79bd44d952dee663d0874324d805449014 100755 (executable)
@@ -248,7 +248,7 @@ u'\\s*\\S*/([-A-Za-z]+)\\s*$|\\s*\\S*/\\S*\\s*\\(ocean\\-wide(?:\\s|\\xa0)+([-A-
                                skl.msg('puzzle "%s" no standing found' % puzzle)
                                continue
                        standing = sl[0]
                                skl.msg('puzzle "%s" no standing found' % puzzle)
                                continue
                        standing = sl[0]
-                       for i in range(0, len(standingvals)-1):
+                       for i in range(0, len(standingvals)):
                                if standing == standingvals[i]:
                                        self.standings[puzzle] = i
                        if not puzzle in self.standings:
                                if standing == standingvals[i]:
                                        self.standings[puzzle] = i
                        if not puzzle in self.standings: