|
@@ -174,6 +174,7 @@ class GroceryTransactionEditor(urwid.WidgetPlaceholder):
|
|
|
f"$descr${description}$descr$, {quantity}, $unit${unit}$unit$, " \
|
|
|
f"{price}, $produ${product}$produ$, {organic});\n"
|
|
|
self.log.write(statement)
|
|
|
+ self.log.flush()
|
|
|
self.cur.execute(statement)
|
|
|
|
|
|
cur.execute("BEGIN")
|