summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/controllers/main.py')
-rw-r--r--addons/web/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py
index 9b2a3243866..aa4c1c32fcb 100644
--- a/addons/web/controllers/main.py
+++ b/addons/web/controllers/main.py
@@ -1067,7 +1067,7 @@ class Binary(http.Controller):
'id': attachment_id
}
except Exception:
- args = {'error': "Something horrible happened"}
+ args = {'error': _("Something horrible happened")}
_logger.exception("Fail to upload attachment %s" % ufile.filename)
return out % (json.dumps(callback), json.dumps(args))