summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Hislaire <nicolas.hislaire@imio.be>2020-08-12 05:54:28 (GMT)
committerNicolas Hislaire <nicolas.hislaire@imio.be>2020-08-12 05:54:28 (GMT)
commit647aac856340247b3511b0423d3c61f035fdad42 (patch)
treeb4d46292de40726896b245374a95a0fd659386ad
parentf63f2e50acf649aba523674f80974aba87c3a012 (diff)
downloadpasserelle-imio-extra-fees-647aac856340247b3511b0423d3c61f035fdad42.zip
passerelle-imio-extra-fees-647aac856340247b3511b0423d3c61f035fdad42.tar.gz
passerelle-imio-extra-fees-647aac856340247b3511b0423d3c61f035fdad42.tar.bz2
[TELE-636] fix parenthesis position
-rw-r--r--passerelle_imio_extra_fees/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/passerelle_imio_extra_fees/models.py b/passerelle_imio_extra_fees/models.py
index 5275ce2..a460c0b 100644
--- a/passerelle_imio_extra_fees/models.py
+++ b/passerelle_imio_extra_fees/models.py
@@ -57,7 +57,7 @@ class ExtraFees(BaseResource):
def default_compute(self, request, **kwargs):
nb_documents = 0
nb_letter = 0
- data = json.loads(request.body).decode('utf-8')
+ data = json.loads(request.body.decode('utf-8'))
postage_fee = Decimal(self.belgium_postage_fee)
for basket_item in data['data']:
try: