Estoy creando una aplicación web con Flask y Pyinstaller para crear un solo ejecutable y tengo el siguiente problema:
var http = new XMLHttpRequest(); http.open('HEAD', "/static/" + name_file_rc + ".avi", false); http.send(); if (http.status === 200){ allow_download = true; $('#remove_download').show(); $('#download').show(); $('#frame_record,#second,#size_file,#title_size_file,#title_second').show(); Flag_stop_record_by_err = false; clearInterval(allow_download_inter); clearTimeout(timeout_download); } else{ allow_download = false; // console.log("Load file fail"); }