Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3987 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
17569
1
srp 16
5031
1
bře 22
5731
1
čvc 18
12515
2
čvn 18
22626