Mercurial > libervia-web
diff browser_side/dialog.py @ 93:907a72e79b3e
typo fix
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 28 Jun 2011 03:51:39 +0200 |
parents | dd54bc13ac81 |
children | 8f9d30672225 |
line wrap: on
line diff
--- a/browser_side/dialog.py Tue Jun 28 03:43:48 2011 +0200 +++ b/browser_side/dialog.py Tue Jun 28 03:51:39 2011 +0200 @@ -306,7 +306,7 @@ def onInput(self, sender): """Accept only valid integer && normalize print (no leading 0)""" try: - self.value = int(self.box.getText()) if self.bot.getText() else 0 + self.value = int(self.box.getText()) if self.box.getText() else 0 except ValueError: pass if self.value_max: