Revision: 6087 Author: multichill Date: 2008-11-12 11:10:52 +0000 (Wed, 12 Nov 2008)
Log Message: ----------- cat = cat.replace('_', ' ')
Modified Paths: -------------- trunk/pywikipedia/imagerecat.py
Modified: trunk/pywikipedia/imagerecat.py =================================================================== --- trunk/pywikipedia/imagerecat.py 2008-11-11 22:13:28 UTC (rev 6086) +++ trunk/pywikipedia/imagerecat.py 2008-11-12 11:10:52 UTC (rev 6087) @@ -158,6 +158,7 @@ ''' result = [] for cat in categories: + cat = cat.replace('_', ' ') if (cat not in category_blacklist): result.append(cat) return list(set(result))