diff --git a/pyfpdb/GuiGraphViewer.py b/pyfpdb/GuiGraphViewer.py index b1f87989..91de84e1 100644 --- a/pyfpdb/GuiGraphViewer.py +++ b/pyfpdb/GuiGraphViewer.py @@ -87,6 +87,7 @@ class GuiGraphViewer (threading.Thread): self.canvas = None self.mainHBox.show_all() + self.db.db.rollback() ################################# # @@ -224,6 +225,7 @@ class GuiGraphViewer (threading.Thread): self.cursor.execute(tmp) #returns (HandId,Winnings,Costs,Profit) winnings = self.db.cursor.fetchall() + self.db.db.rollback() if(winnings == ()): return None