Revision: 7922 Author: xqt Date: 2010-02-10 04:57:20 +0000 (Wed, 10 Feb 2010)
Log Message: ----------- bugfix for redirect tags
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2010-02-09 18:04:39 UTC (rev 7921) +++ trunk/pywikipedia/wikipedia.py 2010-02-10 04:57:20 UTC (rev 7922) @@ -7437,7 +7437,7 @@ special redirect tag.
""" - tag = self.siteinfo('magicwords').get('redirect')[0][1:] + tag = self.siteinfo('magicwords').get('redirect') if tag: # remove first "#" letter return tag[0][1:]