From 7501a3b0fd9be5d2217f613c01b097f2fa342a54 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 2 May 2016 14:27:34 +0530 Subject: [PATCH] ... --- src/pyj/ajax.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/ajax.pyj b/src/pyj/ajax.pyj index c07e78de83..f6cead2cf3 100644 --- a/src/pyj/ajax.pyj +++ b/src/pyj/ajax.pyj @@ -46,7 +46,7 @@ def ajax(path, on_complete, on_progress=None, bypass_cache=True, method='GET', q xhr.error_html = str.format(_('Failed to communicate with "{}", aborted'), xhr.request_path) else: rtext = xhr.responseText or '' - xhr.error_html = str.format(_('Failed to communicate with "{}", with status: [{}] {}
{}'), xhr.request_path, xhr.status, xhr.statusText, rtext[:200]) + xhr.error_html = str.format(_('Failed to communicate with "{}", with status: [{}] {}

{}'), xhr.request_path, xhr.status, xhr.statusText, rtext[:200]) def progress_callback(ev): if ev.lengthComputable: