From c7741f4055e762a019630a03618d39546736fec1 Mon Sep 17 00:00:00 2001 From: Florian da Costa Date: Wed, 24 May 2023 12:07:35 +0200 Subject: [PATCH] [FIX] geodis get label : do not return cab routing as the tracking number, since it is not. You can only get the real tracking number using the dedicated geodis service --- roulier/carriers/geodis_fr/get_label/decoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roulier/carriers/geodis_fr/get_label/decoder.py b/roulier/carriers/geodis_fr/get_label/decoder.py index 4e02185..7752c31 100755 --- a/roulier/carriers/geodis_fr/get_label/decoder.py +++ b/roulier/carriers/geodis_fr/get_label/decoder.py @@ -27,7 +27,7 @@ def decode(self, response, input_payload): "id": numero, "reference": cabclt, "number": cab, - "tracking": {"number": tracking, "url": ""}, + "tracking": {"number": "", "url": ""}, "label": { "data": base64.b64encode(next(labels_data).encode()), "name": cabclt or cab or numero or "label_%s" % next(labels_idx),