Revision: 6099 Author: filnik Date: 2008-11-15 13:20:36 +0000 (Sat, 15 Nov 2008)
Log Message: ----------- Little bugfix
Modified Paths: -------------- trunk/pywikipedia/pageimport.py
Modified: trunk/pywikipedia/pageimport.py =================================================================== --- trunk/pywikipedia/pageimport.py 2008-11-14 14:28:40 UTC (rev 6098) +++ trunk/pywikipedia/pageimport.py 2008-11-15 13:20:36 UTC (rev 6099) @@ -95,7 +95,7 @@ response, data = self.site().postForm(address, predata, sysop = True) if data: wikipedia.output(u'Page imported, checking...') - if wikipedia.Page(self.importsite, target.decode('utf-8')).exists(): + if wikipedia.Page(self.importsite, target).exists(): wikipedia.output(u'Import success!') return True else: