Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3874 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
bře 24
17330
1
srp 16
4879
1
bře 22
5619
1
čvc 18
12337
2
čvn 18
22243