izbrisal en db.close(), ki je prehitro zapiral deck.
parent
98deb9c9f4
commit
30d5d83672
1
app.py
1
app.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue