Apply the modified letter half ring throughout
authorDan Scott <dan@coffeecode.net>
Fri, 29 Jul 2011 17:54:05 +0000 (13:54 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 7 May 2013 18:36:50 +0000 (14:36 -0400)
Looks like it can be an inplace modification, so let's do it.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/ebooks/prep_ebook_records.py

index 9ff416a..cf8e3c6 100644 (file)
@@ -370,7 +370,7 @@ def clean_diacritics(field):
         tmpsf = tmpsf.replace(u'\xd5u', u'u\u0304')
 
         # COMBINING MODIFIER LETTER HALF RING
-        tmpsf = tmpsf.replace(u'i\xb1', u'i\u02be')
+        tmpsf = tmpsf.replace(u'\xb1', u'\u02be')
 
         # COMBINING TILDE
         tmpsf = tmpsf.replace(u'\xf5n', u'n\u0303')