Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3978 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
3
mar. 24
17567
1
aug. 16
5031
1
mar. 22
5730
1
jul. 18
12513
2
jun. 18
22625