Revision: 5786
Author: nicdumz
Date: 2008-08-04 02:54:17 +0000 (Mon, 04 Aug 2008)
Log Message:
-----------
Bugfix : Site.encoding is not a member but a function
Modified Paths:
--------------
branches/rewrite/pywikibot/data/api.py
Modified: branches/rewrite/pywikibot/data/api.py
===================================================================
--- branches/rewrite/pywikibot/data/api.py 2008-08-03 18:37:10 UTC (rev 5785)
+++ branches/rewrite/pywikibot/data/api.py 2008-08-04 02:54:17 UTC (rev 5786)
@@ -190,7 +190,7 @@
self.wait()
continue
if not isinstance(rawdata, unicode):
- rawdata = rawdata.decode(self.site.encoding)
+ rawdata = rawdata.decode(self.site.encoding())
if rawdata.startswith(u"unknown_action"):
raise APIError(rawdata[:14], rawdata[16:])
try:
Show replies by date