diff bin/subcomposer @ 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 8b307310cc1b
children 7ecde61ebff1
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)