After the putty dries completely, repaint the putty and repaired area.
Don’t mask off the glass before repainting. The paint will help form a moisture seal between the glass pane and the sash. So, allow the paint to overlap about 1/8 inch onto the glass.