From 955bf42b025ff609690c530c16aab087e5d32f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Sat, 14 Apr 2018 01:53:34 +0000 Subject: [PATCH] Missing Fixes --- cotisations/payment_utils/comnpay.py | 4 ++-- machines/models.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cotisations/payment_utils/comnpay.py b/cotisations/payment_utils/comnpay.py index dcf7e22a..ad0d8c77 100644 --- a/cotisations/payment_utils/comnpay.py +++ b/cotisations/payment_utils/comnpay.py @@ -62,8 +62,8 @@ class Payment(): ret = "" for key in array_tpe: ret += ''.format( - 'k'=key, - 'v'=array_type[key] + k=key, + v=array_type[key] ) return ret diff --git a/machines/models.py b/machines/models.py index 361c7bc1..e3024578 100644 --- a/machines/models.py +++ b/machines/models.py @@ -592,7 +592,7 @@ class Mx(RevMixin, AclMixin, models.Model): fichiers de zones""" return "@ IN MX {prior} {name}".format( prior=str(self.priority).ljust(3), - name=str(name) + name=str(self.name) ) def __str__(self):