Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
4142 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
mar. 24
17724
1
avg. 16
5139
1
mar. 22
5866
1
jul. 18
12672
2
jun. 18
22873