Skip to content

Commit

Permalink
remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
iltenahmet committed Mar 2, 2024
1 parent cb51f42 commit a829572
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def displayDeck(username, deckTitle):
currentDeck = db.decks.find_one({"title": deckTitle})
cardList = currentDeck['cards']
# shuffle deck
print(type(cardList))
random.shuffle(cardList)
return render_template('card.html', deckTitle=deckTitle, username=username, cardList=json.dumps(cardList), isAuth=False)
else:
Expand All @@ -72,7 +71,6 @@ def displayDeck(username, deckTitle):
if not currentDeck:
currentDeck = db.decks.find_one({"title": deckTitle})
cardList = currentDeck['cards']
print(type(cardList))
# shuffle deck
random.shuffle(cardList)
return render_template('card.html', deckTitle=deckTitle, username=username, cardList=json.dumps(cardList), isAuth=True)
Expand Down

0 comments on commit a829572

Please sign in to comment.