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')>"
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')>"
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
3
Mar 24
|
19200 | |||
|
1
Agu 16
|
6230 | |||
|
1
Mar 22
|
7021 | |||
|
1
Jul 18
|
13789 | |||
|
read and get file from ir.attachement
Diselesaikan
|
2
Jun 18
|
24986 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.