apparently not. i tried changing to:
if 'img' in view.substr(view.line(sel)) and path.endswith(('.png"','.jpg"','.jpeg"','.gif"'))
and it still doesn’t write those attributes.
i guess it just looks like the custom post-completion callback isn’t running. i stuck a print command in the run function of Class AfnCommitCompCommand and it never prints to the console.
i’m on mac, ST2 2194