Skip to content

Commit b968a01

Browse files
committed
add print for check_payment
1 parent fd013f4 commit b968a01

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/tasks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ def check_payment():
1515

1616
for payment in new_payment_list:
1717
payment_lifetime = payment.date + timedelta(seconds=PURCHASE_TIME_LIMIT)
18+
print(payment_lifetime, payment.status)
1819
if payment_lifetime < datetime.now():
1920
payment.status = 'not paid'
21+
2022

2123
if __name__ == '__main__':
2224
fill_file_with_hw()

0 commit comments

Comments
 (0)