from api import send_image
def background_send_image(id_log, file_path, student_name, status):
with open(file_path, "rb") as f:
send_image(
id=id_log,
file=f,
student_name=student_name,
status=status
)