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')>"
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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')>"
Create an account today to enjoy exclusive features and engage with our awesome community!
RegistráciaRelated Posts | Replies | Zobrazenia | Aktivita | |
---|---|---|---|---|
|
3
mar 24
|
17149 | ||
|
1
aug 16
|
4740 | ||
|
1
mar 22
|
5489 | ||
|
1
júl 18
|
12212 | ||
|
2
jún 18
|
21979 |