Revision: 6799 Author: cosoleto Date: 2009-05-03 02:34:29 +0000 (Sun, 03 May 2009)
Log Message: ----------- Fixed reference to not existent variable (pointed out by pychecker).
Modified Paths: -------------- trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py =================================================================== --- trunk/pywikipedia/checkimages.py 2009-05-03 02:28:27 UTC (rev 6798) +++ trunk/pywikipedia/checkimages.py 2009-05-03 02:34:29 UTC (rev 6799) @@ -1632,7 +1632,7 @@ try: textRegex = pageRegex.get() except wikipedia.NoPage: - wikipedia.output(u"%s doesn't exist!" % page.title()) + wikipedia.output(u"%s doesn't exist!" % pageRegex.title()) textRegex = '' # No source, so the bot will quit later. # If generator is the regex' one, use your own Generator using an url or page and a regex. if generator == 'regex' and regexGen == True: