img_pil:check for attribute's existance before accessing it. closes #2641
Merge pull request #2645 from kivy/2641

img_pil:check for attribute's existance before accessing it. closes #264...