From 53a4eb066e19978b9bce0c9ce66022afd15fc753 Mon Sep 17 00:00:00 2001 From: Nicolas ROCHE Date: Mon, 18 Nov 2019 16:59:51 +0100 Subject: [PATCH] matomo: force english for API error messages (#37727) --- hobo/matomo/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hobo/matomo/utils.py b/hobo/matomo/utils.py index b5f208f..75ec120 100644 --- a/hobo/matomo/utils.py +++ b/hobo/matomo/utils.py @@ -155,6 +155,7 @@ class MatomoWS(object): def call(self, data): data['module'] = 'API' data['token_auth'] = self.token_auth + data['language'] = 'en' resp = requests.post(self.url_ws_base, data=data) if resp.status_code != 200: raise MatomoException('unexpected status code: %s' % resp.status_code)