Skip to Content
मेन्यू
This question has been flagged
3881 Views

Hi I have this error: 

image_data = upload.read()

AttributeError: 'unicode' object has no attribute 'read'


When i call my controllers:

The variable request.params['upload']  contains " <FileStorage: u'ir_attachment_117.jpeg' ('image/jpeg')>" 


Avatar
Discard
Related Posts Replies Views Activity
3
मार्च 24
17332
1
अग॰ 16
4884
1
मार्च 22
5621
1
जुल॰ 18
12341
2
जून 18
22245