Revision: 8300 Author: multichill Date: 2010-06-15 18:02:47 +0000 (Tue, 15 Jun 2010)
Log Message: ----------- Fix encoding bug.
Modified Paths: -------------- trunk/pywikipedia/imagecopy_enwp.py
Modified: trunk/pywikipedia/imagecopy_enwp.py =================================================================== --- trunk/pywikipedia/imagecopy_enwp.py 2010-06-15 17:51:12 UTC (rev 8299) +++ trunk/pywikipedia/imagecopy_enwp.py 2010-06-15 18:02:47 UTC (rev 8300) @@ -223,13 +223,13 @@ ''' The user pressed the OK button. ''' - self.filename=self.filename_field.get().decode('utf-8') - self.description=self.information_description.get().decode('utf-8') - self.date=self.information_date.get().decode('utf-8') - self.source=self.information_source.get().decode('utf-8') - self.author=self.information_author.get().decode('utf-8') - self.licensetemplate=self.information_licensetemplate.get().decode('utf-8') - self.categories=self.information_categories.get().decode('utf-8') + self.filename=self.filename_field.get() + self.description=self.information_description.get() + self.date=self.information_date.get() + self.source=self.information_source.get() + self.author=self.information_author.get() + self.licensetemplate=self.information_licensetemplate.get() + self.categories=self.information_categories.get()
self.root.destroy()
pywikipedia-svn@lists.wikimedia.org