That's a bit of a hack. We only ever raise an UploadPathError with a single argument that's either an ASCII str or a unicode, so I'd just use e.args[0] in place of str(e).
« Back to merge proposal
That's a bit of a hack. We only ever raise an UploadPathError with a single argument that's either an ASCII str or a unicode, so I'd just use e.args[0] in place of str(e).