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')>"
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
3
3월 24
|
17761 | ||
|
1
8월 16
|
5172 | ||
|
1
3월 22
|
5901 | ||
|
1
7월 18
|
12710 | ||
|
2
6월 18
|
22925 |