Find / replace corners

I renamed corners from _corner.leftSerif to _corner.left. Now I have a problem with allready constructed characters with the oldnamed corners. How (if) I can find / replace corners on all of the master?


You probably already solved it but his script should do the trick.

from GlyphsApp import CORNER, CAP

thisFont = Glyphs.font # frontmost font
oldCornerName = "_corner.old"
newCornerName = ""
for glyph in thisFont.glyphs:
	for layer in glyph.layers:
		for hint in layer.hints:
			if(hint.type == CORNER and == oldCornerName):
				print("corner component");

Yes I did, but thank you for the script.