From: Andreas Frisch Date: Wed, 1 Oct 2008 06:35:00 +0000 (+0000) Subject: fix bracket bug (thanks to Nix_niX) X-Git-Tag: 2.6.0~834 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/fb9f72903bf23e2b9a63e882398c12dbb6d495f0 fix bracket bug (thanks to Nix_niX) --- diff --git a/lib/python/Screens/InputBox.py b/lib/python/Screens/InputBox.py index 455cad9b..43b8a8b8 100644 --- a/lib/python/Screens/InputBox.py +++ b/lib/python/Screens/InputBox.py @@ -99,7 +99,7 @@ class PinInput(InputBox): 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)