Revision: 5966 Author: filnik Date: 2008-10-14 15:18:24 +0000 (Tue, 14 Oct 2008)
Log Message: ----------- Little bugfix, forgot a ',' -.-
Modified Paths: -------------- trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py =================================================================== --- trunk/pywikipedia/checkimages.py 2008-10-14 06:29:16 UTC (rev 5965) +++ trunk/pywikipedia/checkimages.py 2008-10-14 15:18:24 UTC (rev 5966) @@ -907,7 +907,7 @@ if len(images_to_tag_list) != 0 and not only_report: already_reported_in_past = self.countEdits('Image:%s' % images_to_tag_list[-1], self.botolist) # It's a regex, we need to fix the name in order to make it regex-compatible. - replaces_to_perform = [[' ', '_'], ['(', '('], [')', ')'], ['.', '.'], ['[', '['], [']', ']'] + replaces_to_perform = [[' ', '_'], ['(', '('], [')', ')'], ['.', '.'], ['[', '['], [']', ']'], ['{', '{'], ['}', '}']] for replace_to_perform in replaces_to_perform: image_to_resub = images_to_tag_list[-1].replace(replace_to_perform[0], replace_to_perform[1])