From 29b71a57cce895bee0362dbe741f579312a9097f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Mon, 11 Nov 2024 00:27:02 +0100 Subject: [PATCH] Add logging to convert task --- games/convert_price.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/games/convert_price.py b/games/convert_price.py index e883794..de373d2 100644 --- a/games/convert_price.py +++ b/games/convert_price.py @@ -8,6 +8,9 @@ currency_to = currency_to.lower() def save_converted_info(purchase, converted_price, converted_currency): + print( + f"Changing converted price of {purchase} to {converted_price} {converted_currency} " + ) purchase.converted_price = converted_price purchase.converted_currency = converted_currency purchase.save()