isinstance will raise an Exception first. I now catch this exception.
Attach a file by drag & drop or click to upload