From 336d8be97742df515b62081afccfd5fdc14e63b9 Mon Sep 17 00:00:00 2001 From: Mario de Frutos Date: Wed, 26 Oct 2016 17:49:07 +0200 Subject: [PATCH] Hotfix: Typo in status code check --- .../cartodb_services/cartodb_services/mapzen/matrix_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/python/cartodb_services/cartodb_services/mapzen/matrix_client.py b/server/lib/python/cartodb_services/cartodb_services/mapzen/matrix_client.py index e6bf3e3..9fe1b4e 100644 --- a/server/lib/python/cartodb_services/cartodb_services/mapzen/matrix_client.py +++ b/server/lib/python/cartodb_services/cartodb_services/mapzen/matrix_client.py @@ -57,7 +57,7 @@ class MatrixClient: # isolines generation if response.status_code == requests.codes.bad_request: return {} - elif response.status_coe == 504: + elif response.status_code == 504: # Due to some unsolved problems in the Mapzen Matrix API we're # getting randomly 504, probably timeouts. To avoid raise an # exception in all the jobs, for now we're going to return