izbrisal en db.close(), ki je prehitro zapiral deck.

master
Kostanjevec 2022-07-14 21:22:03 +02:00
parent 98deb9c9f4
commit 30d5d83672
1 changed files with 0 additions and 1 deletions

1
app.py
View File

@ -99,7 +99,6 @@ def create_app(test_config=None):
deck_object.current_card = next_card deck_object.current_card = next_card
dbsession.commit() dbsession.commit()
dbsession.close()
# Loudamo naslednjo karto v decku # Loudamo naslednjo karto v decku
show_card_index = deck_object.current_card show_card_index = deck_object.current_card