"did you pay different ammount" now goes the right way around.

This commit is contained in:
Christoffer Viken 2017-09-30 13:02:50 +00:00
parent 702dfffbfa
commit 3ef2323276
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ much money you're due in credits for the purchase when prompted.\n'''
def perform_transaction(self): def perform_transaction(self):
print 'Did you pay a different price?' print 'Did you pay a different price?'
if not self.confirm('>', default=True): if self.confirm('>', default=True):
price = self.input_int() price = self.input_int()
if price > self.price: if price > self.price:
print 'Illegal action, total can not be higher than your total.' print 'Illegal action, total can not be higher than your total.'