Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4138 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
17723
1
srp 16
5135
1
bře 22
5862
1
čvc 18
12671
2
čvn 18
22870