popravljen deck bug??
parent
f8d7427f1b
commit
09d9da152e
|
@ -122,6 +122,7 @@ def rated_today_by_staus (card_status, user_id):
|
||||||
d = 0
|
d = 0
|
||||||
for rating in ratings_today:
|
for rating in ratings_today:
|
||||||
count_all_rates_of_card = dbsession.query(Card).filter(Card.id == rating.card_id).count()
|
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:
|
if count_all_rates_of_card == 1:
|
||||||
n+=1
|
n+=1
|
||||||
|
|
Loading…
Reference in New Issue