Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2629 Vistas

I am getting this error when submitting a file input to controller 

TypeError: argument should be a bytes-like object or ASCII string, not 'FileStorage'

record_file = fields.Binary(string='file', attachment=True, help="Upload the snap",website_form_blacklisted=False)



Avatar
Descartar

this question is incomplete like not asking anything or not providing enough information about the issue

Publicaciones relacionadas Respuestas Vistas Actividad
2
dic 24
4545
1
nov 24
3308
2
abr 23
18424
1
mar 23
2557
4
ago 24
24484