Revision: 6784 Author: multichill Date: 2009-05-01 13:09:08 +0000 (Fri, 01 May 2009)
Log Message: ----------- Fix pywikipediabot-Bugs-2785015 : choice -> answer
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-05-01 08:59:42 UTC (rev 6783) +++ trunk/pywikipedia/interwiki.py 2009-05-01 13:09:08 UTC (rev 6784) @@ -1543,7 +1543,7 @@ answer = wikipedia.inputChoice(u'Submit?', ['Yes', 'No', 'open in Browser', 'Give up'], ['y', 'n', 'b', 'g']) - if choice == 'b': + if answer == 'b': webbrowser.open("http://%s%s" % ( page.site().hostname(), page.site().nice_get_address(page.title())