This should solve the TypeError reported in #53 and some others I found while testing the fix. Closes: #53
Attach a file by drag & drop or click to upload