From 69590c460e63739298737f59b329f8c7de0f0a16 Mon Sep 17 00:00:00 2001 From: Wout Schellaert Date: Sat, 4 Apr 2015 14:36:19 +0200 Subject: [PATCH] Forgot commiting db session --- database/add_oceans_garden.py | 4 ++-- database/create_database.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/database/add_oceans_garden.py b/database/add_oceans_garden.py index df3ab53..fcc063f 100644 --- a/database/add_oceans_garden.py +++ b/database/add_oceans_garden.py @@ -11,8 +11,8 @@ sauzen = ["Balisaus", "Yu siang saus", "Gon boa saus", "Curry saus", "Oestersaus specials = ["Nasi Kippenbolletjes Zoetzuur", "Bami Kippenbolletjes Zoetzuur", "Nasi Varkenbolletjes Zoetzuur", "Bami Varkenbolletjes Zoetzuur", "Nasi Babi Pangang", "Bami Babi Pangang", - "Diverse groenten met Bami", - "Diverse groenten met Nasi"] + "Diverse Groenten met Bami", + "Diverse Groenten met Nasi"] def add(): diff --git a/database/create_database.py b/database/create_database.py index 94b57eb..eac5fbf 100644 --- a/database/create_database.py +++ b/database/create_database.py @@ -62,6 +62,7 @@ def init(): recreate_from_scratch() else: add_to_current() + commit() init()