跳至内容
菜单
此问题已终结
3739 查看

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')>" 


形象
丢弃
相关帖文 回复 查看 活动
3
3月 24
17095
1
8月 16
4699
1
3月 22
5464
1
7月 18
12188
2
6月 18
21920