Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3773 Weergaven

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
mrt. 24
17187
1
aug. 16
4772
1
mrt. 22
5511
1
jul. 18
12227
2
jun. 18
22022