Commit 6dbe8187 by Aeolus

update

parent 4cd24400
......@@ -104,7 +104,7 @@ def get_my_cards():
filter_list = [
NfcCard.user_id == g.user.id,
NfcCard.status.in_([1, -1])
NfcCard.status.in_([1])
]
total_count = NfcCard.query.filter(*filter_list).count()
if not total_count:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment