changeset 557:4e558643c952

subcomposer: squelch the exception we got every time we exited Ignore-this: eb8ad2f0db1be056e3d4466ae9f5e09d This bug is as old as the code and I've had enough of it!
author David McClosky <dmcc@bigasterisk.com>
date Sat, 19 Jun 2010 05:17:33 +0000
parents 428cf7f04131
children 9c3c28abbbea
files bin/subcomposer
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/subcomposer	Sat Jun 19 07:03:04 2010 +0000
+++ b/bin/subcomposer	Sat Jun 19 05:17:33 2010 +0000
@@ -172,6 +172,10 @@
         sc.fill_both_boxes(args[0])
 
     while 1:
-        root.update()
+        try:
+            root.update()
+        except tk.TclError:
+            break
+
         sc.considersendupdate()
         time.sleep(.01)