Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4385 Widoki

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
mar 24
18106
1
sie 16
5417
1
mar 22
6154
1
lip 18
13009
2
cze 18
23461