Revision: 7179 Author: filnik Date: 2009-08-27 10:39:01 +0000 (Thu, 27 Aug 2009)
Log Message: ----------- Bugfix: a coma is in reality a dot. This blocked checkimages.py (that uses a function of wikipedia.py) before it can warn the user
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2009-08-26 21:12:43 UTC (rev 7178) +++ trunk/pywikipedia/wikipedia.py 2009-08-27 10:39:01 UTC (rev 7179) @@ -3028,7 +3028,7 @@ 'titles' :self.title(), } try: - data = query.GetData(params, self,site(), encodeTitle = False)['query']['pages'] + data = query.GetData(params, self.site(), encodeTitle = False)['query']['pages'] except KeyError: raise NoPage(u'API Error, nothing found in the APIs')
pywikipedia-svn@lists.wikimedia.org