From c10c3dd54d7adb92c2f1cf50eb652c2159e9283b Mon Sep 17 00:00:00 2001 From: "Silas S. Brown" <ssb22@cam.ac.uk> Date: Sun, 1 Nov 2009 16:49:59 +0000 Subject: [PATCH] Gradint update git-svn-id: http://svn.code.sf.net/p/e-guidedog/code/ssb22/gradint@433 29193198-4895-4776-b068-10539e920549 --- gradint-build/src/frontend.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gradint-build/src/frontend.py b/gradint-build/src/frontend.py index 57df42e..0c542a7 100644 --- a/gradint-build/src/frontend.py +++ b/gradint-build/src/frontend.py @@ -73,7 +73,8 @@ def primitive_synthloop(): global justSynthesize,warnings_printed if appuifw: justSynthesize=appuifw.query(u"Say:","text",u""+justSynthesize) - if not justSynthesize: break + if justSynthesize: justSynthesize=justSynthesize.encode("utf-8") + else: break else: try: justSynthesize=raw_input(cond(winCEsound and warnings_printed,"(see warnings under this window) Say:","Say: ")) # (WinCE uses an input box so need to repeat the warnings if any - but can't because prompt is size-limited, so need to say move the window.) except EOFError: break -- GitLab