Open manzikki opened 4 years ago
.. to simulate an upload dialog where a user selects multiple files.
upform = forms[0] upform['files'].value = [open("a.gz",'rb'), open("b.gz",'rb')]
This gives me: ValueError('Value must be a file object or file path')
Would like to know if the form file field supports multiple file upload, and it would be better to provide which site name if possible to which you are uploading. Thank you
.. to simulate an upload dialog where a user selects multiple files.
upform = forms[0] upform['files'].value = [open("a.gz",'rb'), open("b.gz",'rb')]
This gives me: ValueError('Value must be a file object or file path')