Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image = Image(nome = nome_foto,image = basedir+"/"+nome_foto,data_foto_no_device = foto["time_stamp_foto"],observacao = foto["observacao"],empresa_id = empresa_info.get("id_api"),user_id = user_info.get("id_api"), categoria_id =foto["categoria"].get("id_api"),protocolo_id=protocolo_id)
- if foto["meio_pagamento"] != "":
- image.meio_pagamento_id = foto["meio_pagamento"].get("id_api")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement