From 3ef23232768bfa293ff622f7efcb8d2c3d02cdeb Mon Sep 17 00:00:00 2001 From: Christoffer Viken Date: Sat, 30 Sep 2017 13:02:50 +0000 Subject: [PATCH] "did you pay different ammount" now goes the right way around. --- text_interface/addstock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text_interface/addstock.py b/text_interface/addstock.py index e463644..c414aac 100644 --- a/text_interface/addstock.py +++ b/text_interface/addstock.py @@ -92,7 +92,7 @@ much money you're due in credits for the purchase when prompted.\n''' def perform_transaction(self): print 'Did you pay a different price?' - if not self.confirm('>', default=True): + if self.confirm('>', default=True): price = self.input_int() if price > self.price: print 'Illegal action, total can not be higher than your total.'