Revision: 5765 Author: misza13 Date: 2008-07-27 12:13:16 +0000 (Sun, 27 Jul 2008)
Log Message: ----------- site's getUrl() method accepts data as a dict
Modified Paths: -------------- trunk/pywikipedia/query.py
Modified: trunk/pywikipedia/query.py =================================================================== --- trunk/pywikipedia/query.py 2008-07-27 11:04:03 UTC (rev 5764) +++ trunk/pywikipedia/query.py 2008-07-27 12:13:16 UTC (rev 5765) @@ -53,7 +53,7 @@ if 'titles' in params: titlecount = params['titles'].count('|') if encodeTitle: - data = urllib.urlencode({'titles' : params['titles']}) + data = {'titles' : params['titles']} del params['titles']
if useAPI: