popravljen deck bug??

master
janko 2023-02-05 19:41:50 +01:00
parent f8d7427f1b
commit 09d9da152e
1 changed files with 3 additions and 2 deletions

View File

@ -122,6 +122,7 @@ def rated_today_by_staus (card_status, user_id):
d = 0
for rating in ratings_today:
count_all_rates_of_card = dbsession.query(Card).filter(Card.id == rating.card_id).count()
print("count_all_rates_of_card: ", count_all_rates_of_card)
if count_all_rates_of_card == 1:
n+=1