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!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
3
मार्च 24
|
18696 | |||
|
1
अग॰ 16
|
5838 | |||
|
1
मार्च 22
|
6493 | |||
|
1
जुल॰ 18
|
13406 | |||
|
2
जून 18
|
24313 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.