From 362bf6dd53c07fe49fdd23968879ff4e745ad884 Mon Sep 17 00:00:00 2001 From: wad Date: Mon, 23 Apr 2018 21:10:24 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B1=D0=B0=D0=B3=D1=84=D0=B8=D0=BA=D1=81=20?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D1=82=D1=83=D1=81=D0=B0=20=D0=A1=20v2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- finance/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finance/tasks.py b/finance/tasks.py index a08f9e2..a85c55f 100644 --- a/finance/tasks.py +++ b/finance/tasks.py @@ -77,5 +77,5 @@ def _check_yandex_response_status(invoice, resp_text): error = resp_node.getAttribute('error') processed_dt = resp_node.getAttribute('processedDT') tech_message = resp_node.getAttribute('techMessage') - invoice.status += 'C' # Invoice.BILL_STATUSES[-1][0] + invoice.status = Invoice.BILL_STATUSES[-1][0] invoice.comment += 'Yandex Money: ошибка № {}, сообщение {} от {}'.format(error, tech_message, processed_dt)