From deb0e29d7e4e8fc32c67a1d983b7c87ae9b83ba8 Mon Sep 17 00:00:00 2001 From: Gleb Mikhaylov Date: Tue, 27 Aug 2019 13:23:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D1=81=D1=82=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D1=8C=D0=BD=D1=8B?= =?UTF-8?q?=D0=B9=20=D0=BF=D1=83=D1=82=D1=8C=20=D0=BA=20=D0=BB=D0=BE=D0=B3?= =?UTF-8?q?=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/payment/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/payment/tasks.py b/apps/payment/tasks.py index 42b02843..60592ff7 100644 --- a/apps/payment/tasks.py +++ b/apps/payment/tasks.py @@ -71,7 +71,7 @@ def transaction_to_roistat(user_id, payment_id, event_name, amount, time, status except: resp_json = None - with open("./roistat.log", "a") as text_file: + with open("/app/media/roistat.log", "a") as text_file: if resp.status_code != 200 or not resp_json or not resp_json.get('processed'): logger.error('TRANSACTION_TO_ROISTAT for payment # %d, %s RUB: %s' % (