Add logging to convert task
This commit is contained in:
parent
4db8d1a63b
commit
29b71a57cc
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue