fix bracket bug (thanks to Nix_niX)
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>
Wed, 1 Oct 2008 06:35:00 +0000 (06:35 +0000)
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>
Wed, 1 Oct 2008 06:35:00 +0000 (06:35 +0000)
lib/python/Screens/InputBox.py

index 455cad9..43b8a8b 100644 (file)
@@ -99,7 +99,7 @@ class PinInput(InputBox):
                                remaining = (self.triesEntry.time.value + (self.waitTime * 60)) - time()
                                remainingMinutes = int(remaining / 60)
                                remainingSeconds = int(remaining % 60)
                                remaining = (self.triesEntry.time.value + (self.waitTime * 60)) - time()
                                remainingMinutes = int(remaining / 60)
                                remainingSeconds = int(remaining % 60)
-                               self.onFirstExecBegin.append(boundFunction(self.session.openWithCallback, self.closePinCancel, MessageBox, _("You have to wait %s!") % (str(remainingMinutes) + " " + _("minutes") + ", " + str(remainingSeconds) + " " + _("seconds"), MessageBox.TYPE_ERROR)))
+                               self.onFirstExecBegin.append(boundFunction(self.session.openWithCallback, self.closePinCancel, MessageBox, _("You have to wait %s!") % (str(remainingMinutes) + " " + _("minutes") + ", " + str(remainingSeconds) + " " + _("seconds")), MessageBox.TYPE_ERROR))
                        else:
                                self.setTries(3)
 
                        else:
                                self.setTries(3)