- added password salt/hash with python-bcrypt (install it!), updated database

This commit is contained in:
Bernhard Stampfer
2016-02-18 17:28:22 +01:00
parent eed21dd917
commit c51340fa6e
5 changed files with 53 additions and 23 deletions

View File

@@ -59,9 +59,7 @@ class MainWindow(wx.Frame):
with app.app_context():
for i in range(0, int(self.panelUser.GetAmount())):
add_consume(self.user.name, get_product_by_name(drink).id)
plot_total(self.user)
plot_total()
plot_list(4)
plot_all_thread(self.user)
self.switchPanels()
def switchPanels(self):