From 5457fd82882e0a7a693b0f028f1ccd32313835c5 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 4 Apr 2018 12:27:31 +0300 Subject: [PATCH] finance email --- finance/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/finance/views.py b/finance/views.py index b732a11..62f2553 100644 --- a/finance/views.py +++ b/finance/views.py @@ -526,10 +526,10 @@ class DemoYandexAvisoView(APIView): now = timezone.now() if float(data['orderSumAmount']) < 1001: - xml_res = """ + xml_res = """ """ % (now.isoformat(), str(data['invoiceId']), str(data['shopId'])) else: - xml_res = """""" % (now.isoformat(), str(data['invoiceId']), str(data['shopId'])) logger_yandex.warning("Ошибка подтверждения тестогого платежа (скорее всего так было задуманно)", xml_res)