Skip to content
Snippets Groups Projects
Unverified Commit 8d5a418b authored by Sébastien Thuret's avatar Sébastien Thuret
Browse files

format

parent bcbaf527
No related branches found
No related tags found
No related merge requests found
......@@ -584,7 +584,7 @@ def create_app(args):
translated_file_path = argostranslatefiles.translate_file(src_langs[0].get_translation(tgt_lang), filepath)
translated_filename = os.path.basename(translated_file_path)
return jsonify(
{
"translatedFileUrl": url_for('download_file', filename=translated_filename, _external=True)
......
......@@ -362,8 +362,6 @@ document.addEventListener('DOMContentLoaded', function(){
}
}
translateFileRequest.onerror = function() {
self.error = "Error while calling /translate_file";
self.loadingFileTranslation = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment