Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3878 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
17332
1
avg. 16
4881
1
mar. 22
5621
1
jul. 18
12338
2
jun. 18
22244